Skip to content

Commit

Permalink
chore: use Ubuntu 22.04 in CI (argoproj#9587)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev authored Jun 12, 2022
1 parent 081608e commit d48c808
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
jobs:
check-go:
name: Ensure Go modules synchronicity
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -39,7 +39,7 @@ jobs:
build-go:
name: Build & cache Go code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -60,7 +60,7 @@ jobs:

lint-go:
name: Lint Go code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -76,7 +76,7 @@ jobs:

test-go:
name: Run unit tests for Go packages
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- build-go
env:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

test-go-race:
name: Run unit tests with -race, for Go packages
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- build-go
env:
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:

codegen:
name: Check changes to generated code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:

build-ui:
name: Build, test & lint UI code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:

analyze:
name: Process & analyze test artifacts
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- test-go
- build-ui
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:

test-e2e:
name: Run end-to-end tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
k3s-version: [v1.23.3, v1.22.6, v1.21.2]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.repository == 'argoproj/argo-cd'

# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
publish:
if: github.repository == 'argoproj/argo-cd'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GOPATH: /home/runner/work/argo-cd/argo-cd
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
prepare-release:
name: Perform automatic release on trigger ${{ github.ref }}
if: github.repository == 'argoproj/argo-cd'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
# The name of the tag as supplied by the GitHub event
SOURCE_TAG: ${{ github.ref }}
Expand Down

0 comments on commit d48c808

Please sign in to comment.