We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c6339c commit 167e8fdCopy full SHA for 167e8fd
.github/workflows/build.yml
@@ -19,7 +19,14 @@ jobs:
19
uses: actions/setup-go@v2
20
with:
21
go-version: '1.24.0' # Use the Go version that Gitea supports
22
-
+ # Step 3: Cache Go modules to speed up builds
23
+ - name: Cache Go modules
24
+ uses: actions/cache@v2
25
+ with:
26
+ path: ~/go/pkg/mod
27
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
28
+ restore-keys: |
29
+ ${{ runner.os }}-go-
30
# Step 3: Install dependencies
31
- name: Install dependencies
32
run: |
0 commit comments