Fix cache update flow during refresh when caching is enabled. (#130) #336
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| go: [ stable ] | |
| os: [ ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: stable | |
| - name: Set up linter | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.7.1 | |
| - name: Unit test | |
| run: make test | |
| - name: Build | |
| run: make build |