From 21c80057d29b3c56146459a0fb0fc0dff778bfaf Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Sat, 20 Jan 2024 12:48:50 +0100 Subject: [PATCH] Change GitHub Actions platform to latest Ubuntu version. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/dependancy-security-check.yml | 2 +- .github/workflows/linting.yml | 8 ++++---- .github/workflows/php-version-sniff.yml | 2 +- .github/workflows/quality-checks.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94893c5c..0d6a3a26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: # @TODO: Instead of building the docker image here, take a pre-build image and mount the code? # (only build when the Dockerfile changes) Or only push when tagged/main? build-docker-nextcloud: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: # For the latest version information see: https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule @@ -76,7 +76,7 @@ jobs: needs: - build-docker-nextcloud - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false diff --git a/.github/workflows/dependancy-security-check.yml b/.github/workflows/dependancy-security-check.yml index 56817247..269e368e 100644 --- a/.github/workflows/dependancy-security-check.yml +++ b/.github/workflows/dependancy-security-check.yml @@ -15,7 +15,7 @@ concurrency: jobs: security-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: "Security check" strategy: diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index cbca0f41..dc29d239 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -7,7 +7,7 @@ on: jobs: lint-json: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: "docker://pipelinecomponents/jsonlint:latest" @@ -15,13 +15,13 @@ jobs: args: "find . -not -path './.git/*' -name '*.json' -type f" lint-php: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: pipeline-components/php-linter@master lint-markdown: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: pipeline-components/remark-lint@master @@ -29,7 +29,7 @@ jobs: options: --rc-path=build/.remarkrc --ignore-pattern='*/vendor/*' lint-yaml: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: pipeline-components/yamllint@master diff --git a/.github/workflows/php-version-sniff.yml b/.github/workflows/php-version-sniff.yml index 30cfd373..213f16d1 100644 --- a/.github/workflows/php-version-sniff.yml +++ b/.github/workflows/php-version-sniff.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: php: [ '8.1' ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: pipeline-components/php-codesniffer@master diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 885c567a..09dce1e1 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -7,7 +7,7 @@ on: jobs: composer-validate: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: "docker://composer" @@ -15,7 +15,7 @@ jobs: args: composer validate --strict --working-dir=solid/ php-codesniffer: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: pipeline-components/php-codesniffer@master