1 Commits

Author SHA1 Message Date
Adrian Zürcher
988a332249 cache golang 2025-08-05 14:15:21 +02:00

View File

@@ -33,11 +33,24 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Go
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.5'
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Go dependencies
run: go mod download
- name: Build binaries
run: |
OUTPUT="bin/${APP_NAME}-${{ matrix.os }}-${{ matrix.arch }}"