From 87859aa2589f2b023172a2625b96deff202ae4f6 Mon Sep 17 00:00:00 2001 From: Francis Chuang Date: Tue, 25 Jun 2024 14:07:25 +1000 Subject: [PATCH] Upgrade GitHub actions --- .github/workflows/pull-requests.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 88d62e2..531f063 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -18,9 +18,9 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Set environment variables from .env - uses: xom9ikk/dotenv@v2.2.0 + uses: xom9ikk/dotenv@v2.3.0 - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Run tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 952e06e..b8f4b42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,15 +15,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set environment variables from .env - uses: xom9ikk/dotenv@v2.2.0 + uses: xom9ikk/dotenv@v2.3.0 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Install cosign uses: sigstore/cosign-installer@v3 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: version: v${{ env.GORELEASER_VERSION }} args: release --clean diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eb9292e..d69ee68 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,9 +11,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set environment variables from .env - uses: xom9ikk/dotenv@v2.2.0 + uses: xom9ikk/dotenv@v2.3.0 - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Run tests