From fd9013fe3cc7171854155914eabffad6756a3361 Mon Sep 17 00:00:00 2001 From: aajkl Date: Tue, 2 Jul 2024 16:24:37 +0800 Subject: [PATCH] upgrade ci actions --- .github/workflows/binary.yml | 2 +- .github/workflows/dockerimage.yml | 8 ++++---- .github/workflows/test.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/binary.yml b/.github/workflows/binary.yml index c6f3ece..1718e8b 100644 --- a/.github/workflows/binary.yml +++ b/.github/workflows/binary.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Setup go" - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 - name: checkout uses: actions/checkout@v3 diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 4ce4e17..b5f58e5 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -11,19 +11,19 @@ jobs: pack: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - - uses: docker/login-action@v2 + - uses: docker/login-action@v3 with: registry: docker.io username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - uses: docker/build-push-action@v3 + - uses: docker/build-push-action@v6 with: context: . push: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e3b319..0aee22b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: fetch-depth: 0 - name: "Setup go" - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod'