Skip to content

Commit 6f22cfb

Browse files
authored
Merge pull request #219 from mulkieran/issue_project_807
Increase GitHub Action checkout version to v5
2 parents cda4fb2 + 7589288 commit 6f22cfb

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

.github/workflows/cargo.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
steps:
2525
- name: Install git for checkout action
2626
run: dnf install -y git
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
with:
2929
path: libblkid-rs
30+
persist-credentials: false
3031
- name: Install dependencies for Fedora
3132
run: >
3233
dnf install -y
@@ -42,10 +43,11 @@ jobs:
4243
components: cargo
4344
toolchain: 1.89.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
4445
- name: Check out ci repo
45-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4647
with:
4748
path: ci
4849
repository: stratis-storage/ci
50+
persist-credentials: false
4951
- name: Run comparisons of --sys version specs with Fedora
5052
# yamllint disable rule:line-length
5153
run: |

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
task: test
4545
runs-on: ubuntu-22.04
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
48+
with:
49+
persist-credentials: false
4850
- uses: dtolnay/rust-toolchain@master
4951
with:
5052
components: ${{ matrix.components }}
@@ -80,7 +82,9 @@ jobs:
8082
PKG_CONFIG_PATH: /opt/homebrew/opt/util-linux/lib/pkgconfig
8183
runs-on: macos-latest
8284
steps:
83-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v5
86+
with:
87+
persist-credentials: false
8488
- uses: dtolnay/rust-toolchain@master
8589
with:
8690
components: ${{ matrix.components }}
@@ -96,7 +100,9 @@ jobs:
96100
container:
97101
image: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT
98102
steps:
99-
- uses: actions/checkout@v4
103+
- uses: actions/checkout@v5
104+
with:
105+
persist-credentials: false
100106
- name: Install dependencies for Fedora
101107
run: dnf install -y make yamllint
102108
- name: Run yamllint

.github/workflows/nightly.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
audit:
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
16+
with:
17+
persist-credentials: false
1618
- uses: dtolnay/rust-toolchain@master
1719
with:
1820
components: cargo
@@ -34,9 +36,10 @@ jobs:
3436
steps:
3537
- name: Install git for checkout action
3638
run: dnf install -y git
37-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v5
3840
with:
3941
path: libblkid-rs
42+
persist-credentials: false
4043
- name: Install dependencies for Fedora
4144
run: >
4245
dnf install -y
@@ -52,10 +55,11 @@ jobs:
5255
components: cargo
5356
toolchain: 1.89.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
5457
- name: Check out ci repo
55-
uses: actions/checkout@v4
58+
uses: actions/checkout@v5
5659
with:
5760
path: ci
5861
repository: stratis-storage/ci
62+
persist-credentials: false
5963
- name: Run comparisons of -sys version specs with Fedora
6064
# yamllint disable rule:line-length
6165
run: |
@@ -76,7 +80,9 @@ jobs:
7680
semver-checks:
7781
runs-on: ubuntu-latest
7882
steps:
79-
- uses: actions/checkout@v4
83+
- uses: actions/checkout@v5
84+
with:
85+
persist-credentials: false
8086
- name: Install dependencies
8187
run: |
8288
sudo apt-get -q update

0 commit comments

Comments
 (0)