diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3e7e901..2b33652 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,7 +10,7 @@ env: CARGO_TERM_COLOR: always jobs: - init: + infra: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -18,16 +18,18 @@ jobs: build: runs-on: ubuntu-latest - needs: init + needs: infra steps: + - uses: actions/checkout@v2 - run: cargo fmt -- --check - run: podman run --rm -it -v $PWD:/work -w /work ks-rs cargo build --verbose - run: podman run --rm -it -v $PWD:/work -w /work ks-rs cargo test --verbose doc: runs-on: ubuntu-latest - needs: init + needs: infra steps: + - uses: actions/checkout@v2 - name: Generate doc run: | podman run --rm -it -v $PWD:/work -w /work ks-rs cargo doc --no-deps