From bf13f0ba7ce6b05ac91a79d36a1b839dfb473e93 Mon Sep 17 00:00:00 2001 From: sturman <4456572+sturman@users.noreply.github.com> Date: Mon, 16 Dec 2024 18:48:48 +0200 Subject: [PATCH] ci: update GitHub Actions --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/docker.yml | 10 +++++----- .github/workflows/goreleaser.yml | 14 +++++++------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eceb7f72f..8aa81866e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,8 @@ jobs: name: build (${{ matrix.os }}/go-${{ matrix.go-version }}) runs-on: ${{ matrix.os }}-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} @@ -45,7 +45,7 @@ jobs: runs-on: ${{ matrix.os }}-latest services: minio: - image: ${{ (matrix.os == 'ubuntu') && 'bitnami/minio:2023.7.18' || ''}} + image: ${{ (matrix.os == 'ubuntu') && 'bitnami/minio:2024.12.13' || ''}} ports: - 45677:9000 options: >- @@ -57,8 +57,8 @@ jobs: MINIO_ROOT_USER: minioadmin MINIO_ROOT_PASSWORD: minioadmin steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} @@ -77,8 +77,8 @@ jobs: runs-on: ${{ matrix.os }}-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 01c101e78..d5507c75b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -8,22 +8,22 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . file: ./Dockerfile diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 56a75b477..f9ae8b156 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -8,8 +8,8 @@ jobs: name: gcs-test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.22.x - run: make test_without_race @@ -27,19 +27,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: '1.22' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: - version: '1.18.2' - args: release --rm-dist + version: '~> v2' + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}