Build with Go 1.21 and Alpine 3.19

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2024-02-07 15:50:10 +02:00
parent f946e0e9e8
commit 862c63e8c3
6 changed files with 16 additions and 13 deletions
+4 -8
View File
@@ -19,17 +19,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore Go cache
uses: actions/cache@v4.0.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.21.x
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Download modules
run: |
go mod download