Skip to content

Commit

Permalink
Cache rq binary
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Egan <charlie@styra.com>
  • Loading branch information
charlieegan3 committed Jun 10, 2024
1 parent d0def34 commit e800b33
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,20 @@ jobs:
version: edge
static: ${{ matrix.os.static }}
- run: npm install -g markdownlint-cli
- name: Restore rq cache
id: cache-rq
uses: actions/cache@v3
with:
path: ~/go/bin/rq
key: ${{ runner.os }}-rq
- run: go install git.sr.ht/~charles/rq/cmd/rq@latest
- run: which rq
- name: Cache rq binary
if: steps.cache-binary.outputs.cache-hit != 'true'
uses: actions/cache@v3
with:
path: ~/go/bin/rq
key: ${{ runner.os }}-go-rq
- run: build/do.rq pull_request
- uses: golangci/golangci-lint-action@v6.0.1
if: matrix.os.name == 'linux'
Expand Down

0 comments on commit e800b33

Please sign in to comment.