From d936b360ae056f6ba6f521bd427aa9b10f2192c0 Mon Sep 17 00:00:00 2001 From: Pavan Date: Thu, 5 Dec 2024 15:54:20 +0100 Subject: [PATCH] [Misc] Workflow: runner version updated Use ubuntu latest (soon to be default) runners in all workflows --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish-docker.yaml | 2 +- .github/workflows/publish-website.yaml | 8 ++++---- .github/workflows/publish.yaml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90c8129..7ab5fd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ permissions: jobs: build: name: Build and Test - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check out code into the Go module directory @@ -47,7 +47,7 @@ jobs: analysis: name: Analyze with Sonar Cloud needs: build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check out code for Sonar Analysis diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index b506051..9abfbbb 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -19,7 +19,7 @@ jobs: strategy: matrix: workload: ["controller", "server", "web-hooks"] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/publish-website.yaml b/.github/workflows/publish-website.yaml index 71e8710..00b58da 100644 --- a/.github/workflows/publish-website.yaml +++ b/.github/workflows/publish-website.yaml @@ -24,7 +24,7 @@ defaults: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: @@ -40,12 +40,12 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: - hugo-version: "0.134.3" + hugo-version: "0.139.3" extended: true - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" - name: Update dependencies run: | cd website @@ -70,7 +70,7 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: build steps: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b9e7025..04cedfb 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,11 +11,11 @@ defaults: jobs: generate_crd: name: Generate CRD - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v4 - name: Generate and Upload CRD run: |