Skip to content

Commit b3b1107

Browse files
authored
workflows: update runner to use ubuntu-22.04 (#2502)
Signed-off-by: Rui Chen <[email protected]> Signed-off-by: Rui Chen <[email protected]>
1 parent ab2cdb8 commit b3b1107

8 files changed

+10
-11
lines changed

.github/workflows/atlantis-base.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919

2020
jobs:
2121
build:
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
steps:
2424
- uses: actions/checkout@v3
2525

.github/workflows/atlantis-image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- uses: actions/checkout@v3
2121
- uses: actions/setup-go@v3

.github/workflows/ci-link-checker-image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defaults:
1818

1919
jobs:
2020
build:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222
steps:
2323
- uses: actions/checkout@v3
2424
- name: Login to Packages Container registry

.github/workflows/lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99
jobs:
1010
golangci-lint:
1111
name: runner / golangci-lint
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: golangci-lint
@@ -21,7 +21,7 @@ jobs:
2121
# Use revive via golangci-lint binary with "warning" level.
2222
revive:
2323
name: runner / revive
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
steps:
2626
- name: Check out code into the Go module directory
2727
uses: actions/checkout@v3
@@ -35,7 +35,7 @@ jobs:
3535
# You can add more and more supported linters with different config.
3636
errcheck:
3737
name: runner / errcheck
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-22.04
3939
steps:
4040
- name: Check out code into the Go module directory
4141
uses: actions/checkout@v3

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
goreleaser:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v3

.github/workflows/stale.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ on:
44
- cron: '30 1 * * *'
55
jobs:
66
stale:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
88
steps:
99
- uses: actions/stale@v5
1010
with:
1111
stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
1212
days-before-stale: 30
1313
days-before-close: 5
1414
only-labels: 'waiting-on-response'
15-

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
jobs:
1616
test:
1717
name: runner / gotest
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
container: ghcr.io/runatlantis/testing-env:2021.08.31
2020
steps:
2121
# user in image needs write access to do anything

.github/workflows/testing-env-image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- uses: actions/checkout@v3
2121

0 commit comments

Comments
 (0)