File tree 4 files changed +15
-15
lines changed
4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 18
18
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
19
with :
20
20
fetch-depth : 0
21
- - uses : actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
21
+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
22
22
with :
23
23
path : |
24
24
~/.cache/go-build
27
27
restore-keys : |
28
28
${{ runner.os }}-go-
29
29
- name : Set up Go
30
- uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
30
+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
31
31
with :
32
- go-version : 1.21 .x
32
+ go-version : 1.24 .x
33
33
- name : Tests
34
34
run : |
35
35
make test coverage
@@ -49,29 +49,29 @@ jobs:
49
49
with :
50
50
fetch-depth : 0
51
51
- name : Set up QEMU
52
- uses : docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3.4 .0
52
+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6 .0
53
53
- name : Docker Login
54
- uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3 .0
54
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4 .0
55
55
with :
56
56
registry : ghcr.io
57
57
username : ${{ github.repository_owner }}
58
58
password : ${{ secrets.GH_PAT }}
59
59
- name : Set up Go
60
- uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
60
+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
61
61
with :
62
- go-version : 1.21 .x
63
- - uses : actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
62
+ go-version : 1.24 .x
63
+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
64
64
with :
65
65
path : |
66
66
~/.cache/go-build
67
67
~/go/pkg/mod
68
68
key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
69
69
restore-keys : |
70
70
${{ runner.os }}-go-
71
- - uses : sigstore/cosign-installer@c56c2d3e59e4281cc41dea2217323ba5694b171e # v3.8.0
71
+ - uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
72
72
- uses : anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
73
73
- name : Run GoReleaser
74
- uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
74
+ uses : goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
75
75
with :
76
76
version : latest
77
77
args : release --clean
Original file line number Diff line number Diff line change 29
29
persist-credentials : false
30
30
31
31
- name : " Run analysis"
32
- uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
32
+ uses : ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
33
33
with :
34
34
results_file : results.sarif
35
35
results_format : sarif
@@ -45,14 +45,14 @@ jobs:
45
45
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
46
46
# format to the repository Actions tab.
47
47
- name : " Upload artifact"
48
- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
48
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
49
49
with :
50
50
name : SARIF file
51
51
path : results.sarif
52
52
retention-days : 5
53
53
54
54
# Upload the results to GitHub's code scanning dashboard.
55
55
- name : " Upload to code-scanning"
56
- uses : github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
56
+ uses : github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
57
57
with :
58
58
sarif_file : results.sarif
Original file line number Diff line number Diff line change 1
1
# Dockerfile
2
- FROM cgr.dev/chainguard/static@sha256:853bfd4495abb4b65ede8fc9332513ca2626235589c2cef59b4fce5082d0836d
2
+ FROM cgr.dev/chainguard/static@sha256:1ff7590cbc50eaaa917c34b092de0720d307f67d6d795e4f749a0b80a2e95a2c
3
3
COPY minectl \
4
4
/usr/bin/minectl
5
5
ENTRYPOINT ["/usr/bin/minectl" ]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/dirien/minectl
2
2
3
3
go 1.22
4
4
5
- toolchain go1.24.0
5
+ toolchain go1.24.2
6
6
7
7
require (
8
8
github.com/AlecAivazis/survey/v2 v2.3.7
You can’t perform that action at this time.
0 commit comments