1 Commits

Author SHA1 Message Date
Adrian Zürcher
2e869d1d09 fix wrong parametre working dir and add cache dependency 2025-05-29 11:26:54 +02:00

View File

@@ -38,10 +38,10 @@ jobs:
run: quasar build run: quasar build
- name: Set up Go - name: Set up Go
working-directory: ./backend
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.24.0' go-version: '1.24.0'
cache-dependency-path: backend/go.sum
- name: Set up Git credentials for private modules - name: Set up Git credentials for private modules
run: | run: |
@@ -49,16 +49,6 @@ jobs:
env: env:
GH_PAT_FOR_MODULES: ${{ secrets.GH_PAT }} GH_PAT_FOR_MODULES: ${{ secrets.GH_PAT }}
- name: Restore Go module cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build # Optional, but good for build cache
key: ${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-${{ hashFiles('backend/go.sum') }}
restore-keys: |
${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-
- name: Go Mod Tidy & Download - name: Go Mod Tidy & Download
working-directory: ./backend working-directory: ./backend
run: go mod tidy -v run: go mod tidy -v