File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 timeout-minutes : 10
2929
3030 steps :
31- - uses : actions/checkout@v6
31+ - uses : actions/checkout@v7
3232
3333 - name : Build cluster image
3434 run : |
Original file line number Diff line number Diff line change 2525 - " cmd/hypercache-server/README.md"
2626 - " .github/workflows/docs.yml"
2727 push :
28- branches : [ main ]
28+ branches : [main]
2929 paths :
3030 - " docs/**"
3131 - " mkdocs.yml"
5454 runs-on : ubuntu-latest
5555 timeout-minutes : 10
5656 steps :
57- - uses : actions/checkout@v6
57+ - uses : actions/checkout@v7
5858 with :
59- fetch-depth : 0 # docs/ may reference files via relative paths
59+ # docs/ may reference files via relative paths
60+ fetch-depth : 0
6061
6162 - name : Setup Python
6263 uses : actions/setup-python@v6
Original file line number Diff line number Diff line change 1515 name : gitleaks
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v6
18+ - uses : actions/checkout@v7
1919 with :
2020 fetch-depth : 0
2121 - uses : gitleaks/gitleaks-action@v3
Original file line number Diff line number Diff line change 1010 build :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v6
13+ - uses : actions/checkout@v7
1414 - name : Load project settings
1515 id : settings
1616 run : |
2323 echo "proto_enabled=${PROTO_ENABLED:-true}" >> "$GITHUB_OUTPUT"
2424
2525 - name : Set up Go
26- uses : actions/setup-go@v6.1 .0
26+ uses : actions/setup-go@v6.5 .0
2727 with :
2828 go-version : " ${{ steps.settings.outputs.go_version }}"
2929 check-latest : true
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ name: image
1717on :
1818 pull_request :
1919 push :
20- branches : [ main ]
21- tags : [ "v*.*.*" ]
20+ branches : [main]
21+ tags : ["v*.*.*"]
2222 workflow_dispatch :
2323
2424permissions :
3131
3232jobs :
3333 build :
34- name : build${{ github.event_name == 'pull_request' && ' (no push)' || ' + push'
34+ name :
35+ build${{ github.event_name == 'pull_request' && ' (no push)' || ' + push'
3536 }}
3637 runs-on : ubuntu-latest
3738 timeout-minutes : 20
3839
3940 steps :
40- - uses : actions/checkout@v6
41+ - uses : actions/checkout@v7
4142
4243 - name : Set up QEMU
4344 uses : docker/setup-qemu-action@v4
5152 # avoids an avoidable failure on those events.
5253 - name : Log in to GHCR
5354 if : github.event_name != 'pull_request'
54- uses : docker/login-action@v4.2 .0
55+ uses : docker/login-action@v4.4 .0
5556 with :
5657 registry : ${{ env.REGISTRY }}
5758 username : ${{ github.actor }}
8384 latest=false
8485
8586 - name : Build${{ github.event_name == 'pull_request' && '' || ' + push' }}
86- uses : docker/build-push-action@v7.2 .0
87+ uses : docker/build-push-action@v7.3 .0
8788 with :
8889 context : .
8990 file : cmd/hypercache-server/Dockerfile
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ name: lint
44on :
55 pull_request :
66 push :
7- branches : [ main ]
7+ branches : [main]
88permissions :
99 contents : read
1010jobs :
1111 lint :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v6
14+ - uses : actions/checkout@v7
1515 - name : Load project settings
1616 id : settings
1717 run : |
5555 " ./pkg/api/*" -not -path "./vendor/*" -not -path "./.gocache/*" -not
5656 -path "./.git/*")
5757 - name : gofumpt
58- run : gofumpt -l -w $(find . -type f -name '*.go' -not -path "./pkg/api/*" -not
58+ run :
59+ gofumpt -l -w $(find . -type f -name '*.go' -not -path "./pkg/api/*" -not
5960 -path "./vendor/*" -not -path "./.gocache/*" -not -path "./.git/*")
6061 - name : staticcheck
6162 run : staticcheck ./...
Original file line number Diff line number Diff line change 2222 - " cmd/hypercache-server/main.go"
2323 - " .github/workflows/openapi.yml"
2424 push :
25- branches : [ main ]
25+ branches : [main]
2626 paths :
2727 - " cmd/hypercache-server/openapi.yaml"
2828 - " cmd/hypercache-server/openapi.go"
3939 runs-on : ubuntu-latest
4040 timeout-minutes : 5
4141 steps :
42- - uses : actions/checkout@v6
42+ - uses : actions/checkout@v7
4343
4444 - name : Setup Node
4545 uses : actions/setup-node@v6
5757 runs-on : ubuntu-latest
5858 timeout-minutes : 5
5959 steps :
60- - uses : actions/checkout@v6
60+ - uses : actions/checkout@v7
6161
6262 - name : Load project settings
6363 id : settings
Original file line number Diff line number Diff line change 3030 timeout-minutes : 10
3131
3232 steps :
33- - uses : actions/checkout@v6
33+ - uses : actions/checkout@v7
3434 with :
3535 # Fetch the full history so the auto-notes generator can
3636 # diff against the previous tag.
Original file line number Diff line number Diff line change 1212 security :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v6
15+ - uses : actions/checkout@v7
1616 - name : Load project settings
1717 id : settings
1818 run : |
Original file line number Diff line number Diff line change 1010 test :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v6
13+ - uses : actions/checkout@v7
1414 - name : Load project settings
1515 id : settings
1616 run : |
4040 go test -race -count=10 -shuffle=on -timeout=15m
4141 -coverprofile=coverage.out ./...
4242 - name : Upload coverage artifact
43- uses : actions/upload-artifact@v6
43+ uses : actions/upload-artifact@v7
4444 with :
4545 name : coverage
4646 path : coverage.out
You can’t perform that action at this time.
0 commit comments