File tree 8 files changed +18
-14
lines changed
8 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ updates:
4
4
directory : " /"
5
5
schedule :
6
6
interval : " monthly"
7
+ - package-ecosystem : " gomod"
8
+ directory : " /dagger"
9
+ schedule :
10
+ interval : " monthly"
7
11
- package-ecosystem : " gomod"
8
12
directory : " /examples/middleware"
9
13
schedule :
Original file line number Diff line number Diff line change 46
46
47
47
steps :
48
48
- name : Checkout repository
49
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
49
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
50
50
51
51
# Initializes the CodeQL tools for scanning.
52
52
- name : Initialize CodeQL
Original file line number Diff line number Diff line change 18
18
if : github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
19
19
steps :
20
20
- name : git checkout
21
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
21
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22
22
- name : Set docker hub repo name
23
23
run : echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
24
24
- name : Push README to Dockerhub
40
40
if : github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
41
41
steps :
42
42
- name : git checkout
43
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
43
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
44
44
- name : Set quay.io org name
45
45
run : echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
46
46
- name : Set quay.io repo name
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ permissions: # added using https://github.com/step-security/secure-repo
17
17
jobs :
18
18
golangci :
19
19
permissions :
20
- contents : read # for actions/checkout to fetch code
20
+ contents : read # for actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21
21
pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
22
22
name : lint
23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
- name : Checkout repository
26
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
26
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27
27
- name : Lint
28
- uses : dagger/dagger-for-github@v5
28
+ uses : dagger/dagger-for-github@8ab204f3cf74a4940a1648469c426ef0d28af7cc # v6.6.0
29
29
with :
30
30
version : " latest"
31
31
verb : call
Original file line number Diff line number Diff line change 24
24
supported_versions : ${{ steps.matrix.outputs.supported_versions }}
25
25
steps :
26
26
- name : Checkout code
27
- uses : actions/checkout@v4
27
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
28
28
- name : Read supported_go_versions.txt
29
29
id : matrix
30
30
run : |
@@ -43,17 +43,17 @@ jobs:
43
43
44
44
steps :
45
45
- name : Checkout code
46
-
46
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
47
47
48
48
- name : Run tests and check license
49
- uses : dagger/dagger-for-github@v5
49
+ uses : dagger/dagger-for-github@8ab204f3cf74a4940a1648469c426ef0d28af7cc # v6.6.0
50
50
with :
51
51
version : " latest"
52
52
verb : call
53
53
args : -vvv --src . make --go-version ${{matrix.go_version}} --args 'check_license test'
54
54
55
55
- name : Run style and unused
56
- uses : dagger/dagger-for-github@v6
56
+ uses : dagger/dagger-for-github@8ab204f3cf74a4940a1648469c426ef0d28af7cc # v6.6.0
57
57
if : ${{ matrix.go_version == '1.21' }}
58
58
with :
59
59
version : " latest"
Original file line number Diff line number Diff line change 13
13
14
14
steps :
15
15
- name : Checkout repository
16
- uses : actions/checkout@v4
16
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
17
17
18
18
- name : Execute bash script
19
19
run : bash update-go-version.bash
22
22
# no pull request will be created and the action exits silently.
23
23
- name : Create a Pull Request
24
24
if : github.event_name != 'pull_request'
25
- uses : peter-evans/create-pull-request@v6
25
+ uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
26
26
with :
27
27
token : ${{ secrets.GITHUB_TOKEN }}
28
28
commit-message : " Update Go Collector metrics for new Go version"
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func New(src *dagger.Directory) *ClientGolang {
35
35
func (m * ClientGolang ) Make (
36
36
// +optional
37
37
args string ,
38
- // +default="1.20 "
38
+ // +default="1.23 "
39
39
goVersion string ,
40
40
// +optional
41
41
env []string ,
Original file line number Diff line number Diff line change 1
1
module github.com/prometheus/client_golang/tutorials/whatsup
2
2
3
- go 1.20
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/bwplotka/tracing-go v0.0.0-20230421061608-abdf862ceccd
You can’t perform that action at this time.
0 commit comments