Skip to content

Commit

Permalink
fix: checkout cargo.lock file
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Feb 14, 2024
1 parent f9594df commit 6337692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Run formatter and license.go
run: |
make format
git checkout go.mod go.sum
git checkout go.mod go.sum ./rust/Cargo.lock
- name: Check and Push to main branch
continue-on-error: true
run: |
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
run: |
make deps/install
make format
git checkout go.mod go.sum
git checkout go.mod go.sum ./rust/Cargo.lock
- name: Check format and deps difference
run: |
if git diff --quiet --exit-code; then
Expand Down

0 comments on commit 6337692

Please sign in to comment.