From cecc949b2f4c6aff218df6c99de3723ae3149475 Mon Sep 17 00:00:00 2001 From: sksat Date: Wed, 8 Jan 2025 17:59:56 +0900 Subject: [PATCH] cargo build/clippy with --locked --- .github/workflows/pytest.yml | 4 ++-- .github/workflows/rust.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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