-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/update-pre-commit-hooks
- Loading branch information
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: EmbarkStudios/[email protected].3 | ||
- uses: EmbarkStudios/[email protected].4 | ||
with: | ||
# do not check advisories on PRs to prevent sudden failure due to new announcement | ||
command: check bans licenses sources | ||
|
@@ -71,15 +71,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: EmbarkStudios/[email protected].3 | ||
- uses: EmbarkStudios/[email protected].4 | ||
|
||
test: | ||
name: Test Rust code | ||
needs: diff | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: Swatinem/[email protected].5 | ||
- uses: Swatinem/[email protected].7 | ||
with: | ||
save-if: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }} | ||
- name: Run tests | ||
|
@@ -91,7 +91,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: Swatinem/[email protected].5 | ||
- uses: Swatinem/[email protected].7 | ||
with: | ||
save-if: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }} | ||
- run: cargo install [email protected] | ||
|
@@ -115,7 +115,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: Swatinem/[email protected].5 | ||
- uses: Swatinem/[email protected].7 | ||
with: | ||
save-if: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }} | ||
- name: Build Rust code | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,15 +29,15 @@ jobs: | |
--repo https://github.com/crate-ci/typos | ||
--repo https://github.com/EmbarkStudios/cargo-deny | ||
- run: pre-commit run --all-files | ||
- uses: peter-evans/[email protected].5 | ||
- uses: peter-evans/[email protected].6 | ||
if: ${{ success() }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: chore/update-pre-commit-hooks | ||
title: "chore: update pre-commit hooks" | ||
commit-message: "chore: update pre-commit hooks" | ||
body: Update pre-commit hooks to latest version. | ||
- uses: peter-evans/[email protected].5 | ||
- uses: peter-evans/[email protected].6 | ||
if: ${{ failure() }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|