diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63c8171..9c32f1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: image: ghcr.io/bcdevices/scm-go-usb-arm:v1.21.1-jammy-2 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Unit Testing run: | make test @@ -24,7 +24,7 @@ jobs: image: ghcr.io/bcdevices/scm-go-usb-arm:v1.21.1-jammy-2 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build linux-amd64 run: | TARGET_ARCH="linux-amd64" make all @@ -35,7 +35,7 @@ jobs: image: ghcr.io/bcdevices/scm-go-usb-arm:v1.21.1-jammy-2 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build linux-arm64 run: | TARGET_ARCH="linux-arm64" make all diff --git a/.github/workflows/cleanup-gha-cache.yml b/.github/workflows/cleanup-gha-cache.yml index 72837eb..3efb97b 100644 --- a/.github/workflows/cleanup-gha-cache.yml +++ b/.github/workflows/cleanup-gha-cache.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cleanup run: | diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml index ddf9f27..a3c0d71 100644 --- a/.github/workflows/hadolint.yml +++ b/.github/workflows/hadolint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run hadolint uses: hadolint/hadolint-action@v3.1.0 with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b3ae5d..034edb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build uses: ./.github/actions/build - name: Upload Release diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a9c472..9da1307 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,19 +26,19 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -46,7 +46,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} #tags: | @@ -59,7 +59,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . provenance: false