From 57a70da5a96598c24d29946c6390f00d0243c361 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Wed, 1 May 2024 01:41:45 +0200 Subject: [PATCH] Bump GitHub action versions in workflows (#106) --- .github/workflows/build-container.yml | 12 ++++++------ .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/matrixbuild.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index dd4f093..47c1d99 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -24,19 +24,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - # Add support for more platforms with QEMU # https://github.com/docker/setup-qemu-action name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ghcr.io/${{ github.repository_owner }}/bgpq4 tags: | @@ -48,14 +48,14 @@ jobs: type=sha - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: file: .github/images/alpine:3.Dockerfile context: . diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a980ca..4755fa5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install macOS autogen prerequisites run: brew install autoconf automake libtool if: runner.os == 'macOS' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 640e623..1cc7a86 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,9 +22,9 @@ jobs: language: [ 'cpp' ] steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Build Application using script @@ -33,6 +33,6 @@ jobs: ./configure make - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/matrixbuild.yml b/.github/workflows/matrixbuild.yml index cfb56dc..171cba1 100644 --- a/.github/workflows/matrixbuild.yml +++ b/.github/workflows/matrixbuild.yml @@ -27,7 +27,7 @@ jobs: - alpine:edge - alpine:3.19 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Work around Docker BuildKit regression # https://github.com/moby/buildkit/issues/2119: `DOCKER_BUILDKIT=1 docker build` fails if Dockerfile is a symlink run: cp --remove-destination $(readlink -f .github/images/${{matrix.dockerenv}}.Dockerfile) .github/images/${{matrix.dockerenv}}.Dockerfile diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a038b17..43a33b0 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: clone repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install pre-reqs run: | sudo apt-get update