From f5846098431f4c3f199d28682768fb606c4d6ed5 Mon Sep 17 00:00:00 2001 From: Tiago Peczenyj Date: Fri, 4 Oct 2024 10:10:41 +0200 Subject: [PATCH] improve versions of github actions --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 373df9b..243e1e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: go-version: 1.23.x - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v1 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --rm-dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77bf50e..70fddf0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,26 +15,26 @@ jobs: runs-on: ${{matrix.platform}} steps: - name: Install Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: go-version: 1.23.x - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Lint - uses: magefile/mage-action@v1 + uses: magefile/mage-action@v3 with: version: latest args: lint - name: Doc Verify - uses: magefile/mage-action@v1 + uses: magefile/mage-action@v3 with: version: latest args: docVerify - name: Test - uses: magefile/mage-action@v1 + uses: magefile/mage-action@v3 with: version: latest args: test - name: Upload Coverage if: ${{ matrix.platform == 'ubuntu-latest' }} - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4