Skip to content

Update python readme #25

Update python readme

Update python readme #25

Workflow file for this run

name: rust ci
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: run cargo check
run: cargo build
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: run cargo test
run: cargo test
publish:
name: Publish
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [check, test]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: publish gribberish-types
run: cargo publish -p gribberish-types
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: publish gribberish-macros
run: cargo publish -p gribberish-macros
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: publish gribberish
run: cargo publish -p gribberish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}