Skip to content

Commit 2dd4907

Browse files
authored
Merge pull request #16 from mhashizume/PA-5793/main/checkout-action
(PA-5794) Update Checkout GitHub Action
2 parents 1386bfb + 821d434 commit 2dd4907

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout current PR
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818
- name: Run shellcheck

.github/workflows/install_puppet.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
# Even thought checkout@v3 is end-of-life, we cannot upgrade to v4
10+
# because it cannot run on CentOS 7 and Ubuntu 18.04
911
jobs:
1012
install-puppet:
1113
name: ${{ matrix.collection }} / ${{ matrix.os.name }}
1214
runs-on: ubuntu-latest
1315
strategy:
1416
fail-fast: false
1517
matrix:
16-
collection: [ puppet6, puppet7, puppet8 ]
18+
collection: [ puppet7, puppet8 ]
1719
os: [
1820
{ name: "CentOS 7", image: "litmusimage/centos:7" },
1921
{ name: "Debian 10", image: "litmusimage/debian:10" },
@@ -26,7 +28,7 @@ jobs:
2628
image: ${{ matrix.os.image }}
2729
steps:
2830
- name: Checkout current PR
29-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3032
with:
3133
fetch-depth: 0
3234
- name: Install puppet-agent from ${{ matrix.collection }} collection

0 commit comments

Comments
 (0)