Merge pull request #170 from mahkoh/jorth/workspace-capture #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: toml-spec | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
toml-spec: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Show env | |
run: | | |
uname -a | |
ldd --version | |
- name: Install | |
run: | | |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly | |
rustup toolchain install nightly --allow-downgrade -c rustfmt | |
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
- name: Check | |
run: | | |
cd toml-spec | |
cargo run | |
git diff --exit-code |