Skip to content

Commit

Permalink
Update GitHub checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
bluk committed Sep 29, 2023
1 parent 9ed928f commit 1c8b6ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- stable
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -28,9 +32,5 @@ jobs:
- name: Rust Version
run: rustc --version
- run: cargo install cargo-audit
- name: Checkout sources
uses: actions/checkout@v3
with:
persist-credentials: false
- run: cargo generate-lockfile
- run: cargo audit --deny warnings
- run: cargo audit --deny warnings
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install toolchain
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install toolchain
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install toolchain
Expand All @@ -106,7 +106,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install toolchain
Expand Down

0 comments on commit 1c8b6ef

Please sign in to comment.