Skip to content

Commit

Permalink
ci: add go cache config
Browse files Browse the repository at this point in the history
  • Loading branch information
Markson Hon committed Mar 1, 2024
1 parent 81ee7cb commit f5d1efb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
cache-dependency-path: |
service/go.mod
service/go.sum
go-version: ^1.21
- name: Build v2rayA
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
cache-dependency-path: |
service/go.mod
service/go.sum
go-version: ^1.21
- name: Install Dependencies
run: |
Expand Down

0 comments on commit f5d1efb

Please sign in to comment.