File tree Expand file tree Collapse file tree 9 files changed +19
-15
lines changed Expand file tree Collapse file tree 9 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ updates:
44 directory : " /"
55 schedule :
66 interval : " monthly"
7+ - package-ecosystem : " gomod"
8+ directory : " /dagger"
9+ schedule :
10+ interval : " monthly"
711 - package-ecosystem : " gomod"
812 directory : " /examples/middleware"
913 schedule :
Original file line number Diff line number Diff line change 4646
4747 steps :
4848 - name : Checkout repository
49- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
49+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5050
5151 # Initializes the CodeQL tools for scanning.
5252 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 1818 if : github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
1919 steps :
2020 - name : git checkout
21- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
21+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2222 - name : Set docker hub repo name
2323 run : echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
2424 - name : Push README to Dockerhub
4040 if : github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
4141 steps :
4242 - name : git checkout
43- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
43+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4444 - name : Set quay.io org name
4545 run : echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
4646 - 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
1717jobs :
1818 golangci :
1919 permissions :
20- contents : read # for actions/checkout to fetch code
20+ contents : read # for actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121 pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
2222 name : lint
2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Checkout repository
26- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
26+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2727 - name : Lint
28- uses : dagger/dagger-for-github@v5
28+ uses : dagger/dagger-for-github@8ab204f3cf74a4940a1648469c426ef0d28af7cc # v6.6.0
2929 with :
3030 version : " latest"
3131 verb : call
Original file line number Diff line number Diff line change 2424 supported_versions : ${{ steps.matrix.outputs.supported_versions }}
2525 steps :
2626 - name : Checkout code
27- uses : actions/checkout@v4
27+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2828 - name : Read supported_go_versions.txt
2929 id : matrix
3030 run : |
@@ -43,17 +43,17 @@ jobs:
4343
4444 steps :
4545 - name : Checkout code
46- 46+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4747
4848 - name : Run tests and check license
49- uses : dagger/dagger-for-github@v5
49+ uses : dagger/dagger-for-github@8ab204f3cf74a4940a1648469c426ef0d28af7cc # v6.6.0
5050 with :
5151 version : " latest"
5252 verb : call
5353 args : -vvv --src . make --go-version ${{matrix.go_version}} --args 'check_license test'
5454
5555 - name : Run style and unused
56- uses : dagger/dagger-for-github@v6
56+ uses : dagger/dagger-for-github@8ab204f3cf74a4940a1648469c426ef0d28af7cc # v6.6.0
5757 if : ${{ matrix.go_version == '1.21' }}
5858 with :
5959 version : " latest"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ permissions: # added using https://github.com/step-security/secure-repo
1818jobs :
1919 golangci :
2020 permissions :
21- contents : read # for actions/checkout to fetch code
21+ contents : read # for actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2222 pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
2323 name : lint
2424 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1313
1414 steps :
1515 - name : Checkout repository
16- uses : actions/checkout@v4
16+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1717
1818 - name : Execute bash script
1919 run : bash update-go-version.bash
2222 # no pull request will be created and the action exits silently.
2323 - name : Create a Pull Request
2424 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
2626 with :
2727 token : ${{ secrets.GITHUB_TOKEN }}
2828 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 {
3535func (m * ClientGolang ) Make (
3636 // +optional
3737 args string ,
38- // +default="1.20 "
38+ // +default="1.23 "
3939 goVersion string ,
4040 // +optional
4141 env []string ,
Original file line number Diff line number Diff line change 11module github.com/prometheus/client_golang/tutorials/whatsup
22
3- go 1.20
3+ go 1.21
44
55require (
66 github.com/bwplotka/tracing-go v0.0.0-20230421061608-abdf862ceccd
You can’t perform that action at this time.
0 commit comments