Skip to content

Commit 64bc768

Browse files
renovate[bot]Claire.Nicholas
and
Claire.Nicholas
authored
chore(deps): pin dependencies (#54)
* chore(deps): pin dependencies * upgrade checkout to v4 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Claire.Nicholas <[email protected]>
1 parent 9065960 commit 64bc768

10 files changed

+86
-69
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1717

1818
- name: install go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v2
42+
uses: github/codeql-action/init@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
53+
uses: github/codeql-action/autobuild@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v2
67+
uses: github/codeql-action/analyze@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2

.github/workflows/prerelease.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414

1515
steps:
1616
- name: clone
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1818
with:
1919
# ensures we fetch tag history for the repository
2020
fetch-depth: 0
2121

2222
- name: install go
23-
uses: actions/setup-go@v4
23+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
2424
with:
2525
# use version from go.mod file
2626
go-version-file: 'go.mod'
@@ -40,7 +40,7 @@ jobs:
4040
make build-static-ci
4141
4242
- name: publish
43-
uses: elgohr/Publish-Docker-Github-Action@v5
43+
uses: elgohr/Publish-Docker-Github-Action@eb53b3ec07136a6ebaed78d8135806da64f7c7e2 # v5
4444
with:
4545
name: target/vela-build-summary
4646
cache: true

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1717
with:
1818
# ensures we fetch tag history for the repository
1919
fetch-depth: 0
2020

2121
- name: install go
22-
uses: actions/setup-go@v4
22+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
2323
with:
2424
# use version from go.mod file
2525
go-version-file: 'go.mod'
@@ -34,7 +34,7 @@ jobs:
3434
make build-static-ci
3535
3636
- name: publish
37-
uses: elgohr/Publish-Docker-Github-Action@v5
37+
uses: elgohr/Publish-Docker-Github-Action@eb53b3ec07136a6ebaed78d8135806da64f7c7e2 # v5
3838
with:
3939
name: target/vela-build-summary
4040
cache: true

.github/workflows/reviewdog.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212

1313
steps:
1414
- name: clone
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1616

1717
- name: install go
18-
uses: actions/setup-go@v4
18+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
1919
with:
2020
# use version from go.mod file
2121
go-version-file: 'go.mod'
2222
cache: true
2323
check-latest: true
2424

2525
- name: golangci-lint
26-
uses: reviewdog/action-golangci-lint@v2
26+
uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2
2727
with:
2828
github_token: ${{ secrets.github_token }}
2929
golangci_lint_flags: "--config=.golangci.yml"
@@ -36,18 +36,18 @@ jobs:
3636

3737
steps:
3838
- name: clone
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
4040

4141
- name: install go
42-
uses: actions/setup-go@v4
42+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
4343
with:
4444
# use version from go.mod file
4545
go-version-file: 'go.mod'
4646
cache: true
4747
check-latest: true
4848

4949
- name: golangci-lint
50-
uses: reviewdog/action-golangci-lint@v2
50+
uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2
5151
with:
5252
github_token: ${{ secrets.github_token }}
5353
golangci_lint_flags: "--config=.golangci.yml"

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1717

1818
- name: install go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'
@@ -28,7 +28,7 @@ jobs:
2828
go test -race -covermode=atomic -coverprofile=coverage.out ./...
2929
3030
- name: coverage
31-
uses: codecov/codecov-action@v3
31+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3
3232
with:
3333
token: ${{ secrets.CODECOV_TOKEN }}
3434
file: coverage.out

.github/workflows/validate.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1717

1818
- name: install go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## docker build --no-cache --target certs -t vela-build-summary:certs . ##
55
################################################################################
66

7-
FROM alpine as certs
7+
FROM alpine@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 as certs
88

99
RUN apk add --update --no-cache ca-certificates
1010

go.mod

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
module github.com/go-vela/vela-build-summary
22

3-
go 1.20
3+
go 1.21
4+
5+
toolchain go1.21.3
46

57
require (
68
github.com/Masterminds/semver/v3 v3.2.1
79
github.com/dustin/go-humanize v1.0.1
8-
github.com/go-vela/sdk-go v0.19.2
9-
github.com/go-vela/types v0.19.2
10+
github.com/go-vela/sdk-go v0.21.0
11+
github.com/go-vela/types v0.21.0
1012
github.com/gosuri/uitable v0.0.4
1113
github.com/joho/godotenv v1.5.1
1214
github.com/sirupsen/logrus v1.9.3
13-
github.com/urfave/cli/v2 v2.25.6
15+
github.com/urfave/cli/v2 v2.25.7
1416
)
1517

1618
require (
@@ -22,15 +24,13 @@ require (
2224
github.com/ghodss/yaml v1.0.0 // indirect
2325
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
2426
github.com/google/go-querystring v1.1.0 // indirect
25-
github.com/kr/pretty v0.3.0 // indirect
27+
github.com/kr/text v0.2.0 // indirect
2628
github.com/mattn/go-colorable v0.1.9 // indirect
27-
github.com/mattn/go-isatty v0.0.17 // indirect
29+
github.com/mattn/go-isatty v0.0.19 // indirect
2830
github.com/mattn/go-runewidth v0.0.13 // indirect
2931
github.com/rivo/uniseg v0.2.0 // indirect
30-
github.com/rogpeppe/go-internal v1.8.0 // indirect
3132
github.com/russross/blackfriday/v2 v2.1.0 // indirect
3233
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
33-
golang.org/x/sys v0.7.0 // indirect
34-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
34+
golang.org/x/sys v0.12.0 // indirect
3535
gopkg.in/yaml.v2 v2.4.0 // indirect
3636
)

0 commit comments

Comments
 (0)