diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a8a3243e..413a54de0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: jobs: golangci: name: lint - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 @@ -23,7 +23,7 @@ jobs: run: hack/verify-import-aliases.sh codegen: name: codegen - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 env: GOPATH: ${{ github.workspace }} defaults: @@ -53,7 +53,7 @@ jobs: build: name: compile needs: codegen # rely on codegen successful completion - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 @@ -70,7 +70,7 @@ jobs: test: name: unit test needs: build - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 @@ -83,7 +83,7 @@ jobs: e2e: name: e2e test needs: build - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: k8s: [ v1.21.10, v1.22.7, v1.23.4, v1.24.2 ] diff --git a/.github/workflows/dockerhub-latest-image.yml b/.github/workflows/dockerhub-latest-image.yml index 868b3b227..4da5e8ac2 100644 --- a/.github/workflows/dockerhub-latest-image.yml +++ b/.github/workflows/dockerhub-latest-image.yml @@ -22,7 +22,7 @@ jobs: - karmada-interpreter-webhook-example - karmada-aggregated-apiserver - karmada-search - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/dockerhub-released-image.yml b/.github/workflows/dockerhub-released-image.yml index 01bb37f14..03facbdba 100644 --- a/.github/workflows/dockerhub-released-image.yml +++ b/.github/workflows/dockerhub-released-image.yml @@ -18,7 +18,7 @@ jobs: - karmada-interpreter-webhook-example - karmada-aggregated-apiserver - karmada-search - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 0816e69f4..c7e829018 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -8,7 +8,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ee19077a..f265df2b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ name: Build Release jobs: release-assests: name: release kubectl-karmada - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: target: @@ -39,7 +39,7 @@ jobs: update-krew-index: needs: release-assests name: Update krew-index - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@master - name: Update new version in krew-index diff --git a/.github/workflows/swr-latest-image.yml b/.github/workflows/swr-latest-image.yml index 4ebf10e1b..5393b9d1a 100644 --- a/.github/workflows/swr-latest-image.yml +++ b/.github/workflows/swr-latest-image.yml @@ -10,7 +10,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' && github.ref == 'refs/heads/master' }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/swr-released-image.yml b/.github/workflows/swr-released-image.yml index 61427f51f..9b83595eb 100644 --- a/.github/workflows/swr-released-image.yml +++ b/.github/workflows/swr-released-image.yml @@ -10,7 +10,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: checkout code uses: actions/checkout@v2