diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 44c4a82e7..026ebedac 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -98,12 +98,12 @@ jobs: if: matrix.c2a_user == 'subobc' working-directory: ./examples/mobc run: | - cargo build + cargo build --locked - name: build C2A working-directory: ./examples/${{ matrix.c2a_user }} run: | - cargo build + cargo build --locked - name: run mobc C2A if: matrix.c2a_user == 'mobc' diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1f750f519..76c5ba012 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -40,7 +40,7 @@ jobs: uses: sksat/action-clippy@v1.1.0 with: reporter: ${{ github.event_name == 'pull_request' && 'github-pr-review' || 'github-check' }} - clippy_flags: --workspace --all-features + clippy_flags: --workspace --all-features --locked - name: format run: cargo fmt --all -- --check