diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index e026d1fc27..118062fe49 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -8,7 +8,7 @@ on: jobs: race-detector: name: Go Race Detector - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -27,7 +27,7 @@ jobs: native-fuzzer: name: Go Fuzzer (native) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -59,7 +59,7 @@ jobs: go-proxy-check: name: Go mod check - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -79,7 +79,7 @@ jobs: trivy-scan-image: name: Trivy security scan image - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code # needed for .trivyignore file uses: actions/checkout@v3 @@ -100,7 +100,7 @@ jobs: trivy-scan-repo: name: Trivy security scan repo - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/post-merge.yaml b/.github/workflows/post-merge.yaml index bc18321291..e3fba58a4e 100644 --- a/.github/workflows/post-merge.yaml +++ b/.github/workflows/post-merge.yaml @@ -8,7 +8,7 @@ on: jobs: generate: name: Sync Generated Code and Docs - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -68,7 +68,7 @@ jobs: code-coverage: name: Update Go Test Coverage - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: generate steps: - name: Check out code @@ -80,7 +80,7 @@ jobs: release-build: name: Release Build (linux, windows) - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: generate steps: - name: Check out code @@ -138,7 +138,7 @@ jobs: deploy-edge: name: Push Edge Release - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: [release-build, release-build-darwin] steps: - name: Check out code @@ -171,7 +171,7 @@ jobs: deploy-wasm-builder: name: Deploy WASM Builder - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: generate steps: - name: Check out code diff --git a/.github/workflows/post-release.yaml b/.github/workflows/post-release.yaml index afa391f87e..942f778a4c 100644 --- a/.github/workflows/post-release.yaml +++ b/.github/workflows/post-release.yaml @@ -10,7 +10,7 @@ permissions: jobs: kick-netlify: name: Kick Netlify - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Trigger Netlify Deploy env: diff --git a/.github/workflows/post-tag.yaml b/.github/workflows/post-tag.yaml index 824b62359c..f5407fde4d 100644 --- a/.github/workflows/post-tag.yaml +++ b/.github/workflows/post-tag.yaml @@ -8,7 +8,7 @@ on: jobs: generate: name: Generate Code - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -20,7 +20,7 @@ jobs: release-build: name: Release Build (linux, windows) - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: generate steps: - name: Check out code @@ -79,7 +79,7 @@ jobs: build: name: Push Latest Release needs: [release-build, release-build-darwin] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 795895523f..750e12cb76 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -7,7 +7,7 @@ jobs: # up for parallel runners for faster PR feedback and a nicer UX. generate: name: Generate Code - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -32,15 +32,15 @@ jobs: matrix: include: - os: linux - run: ubuntu-18.04 + run: ubuntu-22.04 targets: ci-go-ci-build-linux ci-go-ci-build-linux-static arch: amd64 - os: linux - run: ubuntu-18.04 + run: ubuntu-22.04 targets: ci-go-ci-build-linux-static arch: arm64 - os: windows - run: ubuntu-18.04 + run: ubuntu-22.04 targets: ci-go-ci-build-windows - os: darwin run: macos-latest @@ -86,7 +86,7 @@ jobs: matrix: include: - os: linux - run: ubuntu-18.04 + run: ubuntu-22.04 - os: darwin run: macos-latest steps: @@ -113,7 +113,7 @@ jobs: go-perf: name: Go Perf - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -124,7 +124,7 @@ jobs: go-quick-fuzz: name: Go quick fuzz - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -135,7 +135,7 @@ jobs: go-lint: name: Go Lint - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -146,7 +146,7 @@ jobs: wasm: name: WASM - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -157,7 +157,7 @@ jobs: check-generated: name: Check Generated - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -168,7 +168,7 @@ jobs: wasm-go-sdk-e2e: name: OPA Wasm SDK e2e - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -179,7 +179,7 @@ jobs: race-detector: name: Go Race Detector - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out code uses: actions/checkout@v3 @@ -189,7 +189,7 @@ jobs: smoke-test-docker-images: name: docker image smoke test - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: go-build steps: - name: Check out code @@ -223,9 +223,9 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest + - os: ubuntu-22.04 exec: opa_linux_amd64 - - os: ubuntu-latest + - os: ubuntu-22.04 exec: opa_linux_amd64_static wasm: disabled - os: macos-latest @@ -257,7 +257,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-18.04, macos-latest] + os: [ubuntu-22.04, macos-latest] version: ["1.18", "1.17"] steps: - uses: actions/checkout@v3 @@ -279,7 +279,7 @@ jobs: # Run PR metadata against Rego policies rego-check-pr: name: Rego PR checks - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v3