Skip to content

Update READMEs

Update READMEs #16

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
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: publish gribberish-types
run: cargo publish -p gribberish-types
- name: publish gribberish-macros
run: cargo publish -p gribberish-macros
- name: publish gribberish
run: cargo publish -p gribberish