Skip to content

Commit 08723d8

Browse files
Merge pull request #3361 from puppetlabs/update-actions
Update actions workflows to use ubuntu-22.04
2 parents f7dc5f0 + 292b432 commit 08723d8

File tree

17 files changed

+22
-23
lines changed

17 files changed

+22
-23
lines changed

.github/workflows/apply.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Tests
2727
strategy:
2828
matrix:
29-
os: [ubuntu-latest, windows-latest]
29+
os: [ubuntu-22.04, windows-latest]
3030
ruby: [3.1]
3131
runs-on: ${{ matrix.os }}
3232
steps:
@@ -48,11 +48,11 @@ jobs:
4848
- name: Install modules
4949
if: steps.modules.outputs.cache-hit != 'true'
5050
run: bundle exec r10k puppetfile install
51-
- if: matrix.os == 'ubuntu-latest'
51+
- if: matrix.os == 'ubuntu-22.04'
5252
uses: ./.github/actions/sudo_setup
5353
- if: matrix.os == 'windows-latest'
5454
uses: ./.github/actions/windows_agent_setup
55-
- if: matrix.os == 'ubuntu-latest'
55+
- if: matrix.os == 'ubuntu-22.04'
5656
name: Run tests
5757
run: bundle exec rake ci:apply:linux
5858
- if: matrix.os == 'windows-latest'

.github/workflows/bolt_server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: Tests
2828
strategy:
2929
matrix:
30-
os: [ubuntu-latest, windows-latest]
30+
os: [ubuntu-22.04, windows-latest]
3131
ruby: [3.1]
3232
runs-on: ${{ matrix.os }}
3333
steps:

.github/workflows/bolt_spec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: Tests
2828
strategy:
2929
matrix:
30-
os: [ubuntu-latest, windows-latest]
30+
os: [ubuntu-22.04, windows-latest]
3131
ruby: [3.1]
3232
runs-on: ${{ matrix.os }}
3333
steps:
@@ -49,13 +49,13 @@ jobs:
4949
- name: Install modules
5050
if: steps.modules.outputs.cache-hit != 'true'
5151
run: bundle exec r10k puppetfile install
52-
- if: matrix.os == 'ubuntu-latest'
52+
- if: matrix.os == 'ubuntu-22.04'
5353
uses: ./.github/actions/docker_setup
5454
- if: matrix.os == 'windows-latest'
5555
uses: ./.github/actions/windows_agentless_setup
5656
- name: Run tests
5757
if: matrix.os == 'windows-latest'
5858
run: bundle exec rake ci:boltspec:windows
5959
- name: Run tests
60-
if: matrix.os == 'ubuntu-latest'
60+
if: matrix.os == 'ubuntu-22.04'
6161
run: bundle exec rake ci:boltspec:linux

.github/workflows/docker_transport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
docker_transport:
1919
name: Docker Transport
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
ruby: [3.1]

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
docs:
2121
name: Docs
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v2

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
rubocop:
1313
name: Rubocop
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v2

.github/workflows/linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
integration:
1919
name: Integration
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
ruby: [3.1]

.github/workflows/local_transport.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Tests
2727
strategy:
2828
matrix:
29-
os: [ubuntu-latest, windows-latest]
29+
os: [ubuntu-22.04, windows-latest]
3030
ruby: [3.1]
3131
runs-on: ${{ matrix.os }}
3232
steps:
@@ -48,11 +48,11 @@ jobs:
4848
- name: Install modules
4949
if: steps.modules.outputs.cache-hit != 'true'
5050
run: bundle exec r10k puppetfile install
51-
- if: matrix.os == 'ubuntu-latest'
51+
- if: matrix.os == 'ubuntu-22.04'
5252
uses: ./.github/actions/sudo_setup
5353
- if: matrix.os == 'windows-latest'
5454
uses: ./.github/actions/windows_agent_setup
55-
- if: matrix.os == 'ubuntu-latest'
55+
- if: matrix.os == 'ubuntu-22.04'
5656
name: Run tests
5757
run: bundle exec rake ci:local_transport:linux
5858
- if: matrix.os == 'windows-latest'

.github/workflows/mend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
scan:
99
name: Mend Scanning
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- name: checkout repo content
1313
uses: actions/checkout@v3

.github/workflows/modules.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
linux:
1919
name: Linux
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
ruby: [3.1]

0 commit comments

Comments
 (0)