Skip to content

Commit 339da9a

Browse files
authored
Merge pull request #67 from mulkieran/issue_project_807
Increase GitHub Action checkout version to v5
2 parents 5ff8d6b + c7be636 commit 339da9a

2 files changed

Lines changed: 20 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- x86_64-unknown-linux-musl
2222
steps:
2323
- name: Checkout sources
24-
uses: actions/checkout@v4
25-
24+
uses: actions/checkout@v5
25+
with:
26+
persist-credentials: false
2627
- name: Install stable toolchain
2728
uses: actions-rs/toolchain@v1
2829
with:
@@ -46,8 +47,9 @@ jobs:
4647
runs-on: ubuntu-latest
4748
steps:
4849
- name: Checkout sources
49-
uses: actions/checkout@v4
50-
50+
uses: actions/checkout@v5
51+
with:
52+
persist-credentials: false
5153
- name: Install stable toolchain
5254
uses: actions-rs/toolchain@v1
5355
with:
@@ -73,9 +75,10 @@ jobs:
7375
steps:
7476
- name: Install git for checkout action
7577
run: dnf install -y git
76-
- uses: actions/checkout@v4
78+
- uses: actions/checkout@v5
7779
with:
7880
path: loopdev-3
81+
persist-credentials: false
7982
- name: Install dependencies for Fedora
8083
run: >
8184
dnf install -y
@@ -89,10 +92,11 @@ jobs:
8992
components: cargo
9093
toolchain: 1.89.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
9194
- name: Check out ci repo
92-
uses: actions/checkout@v4
95+
uses: actions/checkout@v5
9396
with:
9497
path: ci
9598
repository: stratis-storage/ci
99+
persist-credentials: false
96100
- name: Run comparisons of version specs with Fedora packages
97101
# yamllint disable rule:line-length
98102
run: |
@@ -107,7 +111,9 @@ jobs:
107111
container:
108112
image: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT
109113
steps:
110-
- uses: actions/checkout@v4
114+
- uses: actions/checkout@v5
115+
with:
116+
persist-credentials: false
111117
- name: Install dependencies for Fedora
112118
run: dnf install -y make yamllint
113119
- name: Run yamllint

.github/workflows/nightly.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
steps:
1717
- name: Install git for checkout action
1818
run: dnf install -y git
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
with:
2121
path: loopdev-3
22+
persist-credentials: false
2223
- name: Install dependencies for Fedora
2324
run: >
2425
dnf install -y
@@ -32,10 +33,11 @@ jobs:
3233
components: cargo
3334
toolchain: 1.89.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
3435
- name: Check out ci repo
35-
uses: actions/checkout@v4
36+
uses: actions/checkout@v5
3637
with:
3738
path: ci
3839
repository: stratis-storage/ci
40+
persist-credentials: false
3941
- name: Run comparisons of version specs with Fedora packages
4042
# yamllint disable rule:line-length
4143
run: |
@@ -48,7 +50,9 @@ jobs:
4850
semver-checks:
4951
runs-on: ubuntu-latest
5052
steps:
51-
- uses: actions/checkout@v4
53+
- uses: actions/checkout@v5
54+
with:
55+
persist-credentials: false
5256
- name: Do semantic version checks
5357
uses: obi1kenobi/cargo-semver-checks-action@v2
5458
with:

0 commit comments

Comments
 (0)