Skip to content

Commit

Permalink
👷 fix to optimize go-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Feb 29, 2024
1 parent b114ee9 commit 6d34459
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/go test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ jobs:
go-test-with-firebase-emulator:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Checkout code
uses: actions/checkout@v4
go-version-file: ./go.mod
cache: true
- name: Download Go modules
shell: bash
if: ${{ steps.setup-go.outputs.cache-hit != 'true' }}
run: go mod download
- run: |
echo "ENV_LOCATION=$GITHUB_WORKSPACE/pkg/setting/files/setting.testing.yaml"
echo "ENV_LOCATION=$GITHUB_WORKSPACE/pkg/setting/files/setting.testing.yaml" >> $GITHUB_ENV
Expand Down

0 comments on commit 6d34459

Please sign in to comment.