From cf9b0d57e86c08f33f30eacaed12d0fb4c43e81c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 20 May 2023 14:47:36 +0200 Subject: [PATCH] GitHub Actions: switch to setup-go@v4 which enables caching --- .github/workflows/push.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index aa8f6df..d05791b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - # Run on the latest minor release of Go 1.19: - go-version: ^1.19 + # Run on the latest minor release of Go 1.20: + go-version: ^1.20 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - name: Ensure all files were formatted as per gofmt run: |