Skip to content

Commit

Permalink
Updated toolchain in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Oct 24, 2023
1 parent 50ae7ec commit 9a62e3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ on:
- '**/Cargo.lock'
schedule:
- cron: '5 4 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- run: cargo install cargo-audit && cargo audit || true && cargo audit
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ env:
GCP_PROJECT: latestbit
GCP_PROJECT_ID: 288860578009
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -18,9 +18,8 @@ jobs:
id-token: 'write'
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Authenticate to Google Cloud development
Expand Down

0 comments on commit 9a62e3d

Please sign in to comment.