From ef2abe71473cf73aa4bb33eb174ac7b187bb6b95 Mon Sep 17 00:00:00 2001 From: Jonas-Taha El Sesiy Date: Sun, 25 Feb 2024 15:34:39 -0800 Subject: [PATCH] Update actions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- .goreleaser.yml | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efa3b56..07de040 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,9 +7,9 @@ jobs: name: test runs-on: ubuntu-22.04 container: - image: golang:1.20 + image: golang:1.22 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test run: make test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1ef655..4753569 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,15 +10,15 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: "^1.20" + go-version: "^1.22" - name: GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: args: release --rm-dist env: diff --git a/.goreleaser.yml b/.goreleaser.yml index e85231b..61fd1d6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +--- before: hooks: - go mod download