From 1342c8748f3116e2280f61483559bbf1dd383d7b Mon Sep 17 00:00:00 2001 From: Philipp Trulson Date: Thu, 28 Sep 2023 09:55:57 +0200 Subject: [PATCH] Update GitHub Actions workflows to latest versions --- .github/workflows/check-lowercase.yaml | 4 ++-- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/containerfile_build.yml | 4 ++-- .github/workflows/docker_metadata_action.yml | 10 +++++----- .github/workflows/link_check.yml | 4 ++-- .github/workflows/multiarch.yml | 14 +++++++------- .github/workflows/scratch_build.yml | 6 +++--- .github/workflows/security_scan.yml | 4 ++-- README.md | 4 ++-- 9 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/check-lowercase.yaml b/.github/workflows/check-lowercase.yaml index 64dbddb..76c39b6 100644 --- a/.github/workflows/check-lowercase.yaml +++ b/.github/workflows/check-lowercase.yaml @@ -16,7 +16,7 @@ env: jobs: build: name: Build image using Buildah - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -26,7 +26,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "buildah-build" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18df7bc..4f7406e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,21 +6,21 @@ on: jobs: lint: name: Run ESLint - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npm ci - run: npm run lint check-dist: name: Check Distribution - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: BUNDLE_FILE: "dist/index.js" BUNDLE_COMMAND: "npm run bundle" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install run: npm ci @@ -33,11 +33,11 @@ jobs: check-inputs-outputs: name: Check Input and Output enums - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: IO_FILE: ./src/generated/inputs-outputs.ts steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: npm ci diff --git a/.github/workflows/containerfile_build.yml b/.github/workflows/containerfile_build.yml index 736bede..4113faa 100644 --- a/.github/workflows/containerfile_build.yml +++ b/.github/workflows/containerfile_build.yml @@ -15,7 +15,7 @@ env: jobs: build: name: Build image using Buildah - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -25,7 +25,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "buildah-build" diff --git a/.github/workflows/docker_metadata_action.yml b/.github/workflows/docker_metadata_action.yml index d840769..4c57e68 100644 --- a/.github/workflows/docker_metadata_action.yml +++ b/.github/workflows/docker_metadata_action.yml @@ -12,7 +12,7 @@ on: jobs: build-containerfile: name: Build image with Containerfile - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -25,7 +25,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker Metadata id: docker-metadata @@ -88,7 +88,7 @@ jobs: build-scratch: name: Build image without Containerfile - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -103,7 +103,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker Metadata id: docker-metadata @@ -128,7 +128,7 @@ jobs: # Checkout spring-petclinic github repository - name: Checkout spring-petclinic project - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "spring-projects/spring-petclinic" path: ${{ env.PROJECT_DIR }} diff --git a/.github/workflows/link_check.yml b/.github/workflows/link_check.yml index 896d01d..c949ec7 100644 --- a/.github/workflows/link_check.yml +++ b/.github/workflows/link_check.yml @@ -12,9 +12,9 @@ on: jobs: markdown-link-check: name: Check links in markdown - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-verbose-mode: true diff --git a/.github/workflows/multiarch.yml b/.github/workflows/multiarch.yml index 5dd8dff..9385afb 100644 --- a/.github/workflows/multiarch.yml +++ b/.github/workflows/multiarch.yml @@ -16,7 +16,7 @@ jobs: name: Build multi-architecture image using Containerfile env: IMAGE_NAME: hello-world-multiarch - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -26,7 +26,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "buildah-build" @@ -84,7 +84,7 @@ jobs: name: Build multi-platform image using Containerfile env: IMAGE_NAME: hello-world-multiplatform - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -94,7 +94,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "buildah-build" @@ -151,7 +151,7 @@ jobs: name: Build multi-architecture image from scratch env: IMAGE_NAME: spring-petclinic-multiarch - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -161,7 +161,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "buildah-build" @@ -177,7 +177,7 @@ jobs: # Checkout spring-petclinic github repository - name: Checkout spring-petclinic project - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "spring-projects/spring-petclinic" path: ${{ env.PROJECT_DIR }} diff --git a/.github/workflows/scratch_build.yml b/.github/workflows/scratch_build.yml index 445d698..14e1145 100644 --- a/.github/workflows/scratch_build.yml +++ b/.github/workflows/scratch_build.yml @@ -17,7 +17,7 @@ env: jobs: build: name: Build image using Buildah - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -27,7 +27,7 @@ jobs: # Checkout buildah action github repository - name: Checkout Buildah action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "buildah-build" @@ -38,7 +38,7 @@ jobs: # Checkout spring-petclinic github repository - name: Checkout spring-petclinic project - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "spring-projects/spring-petclinic" path: ${{ env.PROJECT_DIR }} diff --git a/.github/workflows/security_scan.yml b/.github/workflows/security_scan.yml index 156764e..6642b9d 100644 --- a/.github/workflows/security_scan.yml +++ b/.github/workflows/security_scan.yml @@ -9,11 +9,11 @@ on: jobs: crda-scan: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Scan project vulnerability with CRDA steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v3 diff --git a/README.md b/README.md index 04b6ab2..734cbbd 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Buildah Action uses: redhat-actions/buildah-build@v2 @@ -166,7 +166,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: mvn package