File tree Expand file tree Collapse file tree 5 files changed +48
-57
lines changed Expand file tree Collapse file tree 5 files changed +48
-57
lines changed Original file line number Diff line number Diff line change 1- # To get started with Dependabot version updates, you'll need to specify which
2- # package ecosystems to update and where the package manifests are located.
3- # Please see the documentation for all configuration options:
4- # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
1+ ---
62version : 2
73updates :
8- - package-ecosystem : " gomod"
9- directory : " / "
4+ - package-ecosystem : gomod
5+ directory : /
106 schedule :
11- interval : " daily"
12- - package-ecosystem : " gomod"
13- directory : " /store/awsrds"
7+ interval : daily
8+ - package-ecosystem : gomod
9+ directory : /store/awsrds
1410 schedule :
15- interval : " daily"
16- - package-ecosystem : " gomod"
17- directory : " /store/vault"
11+ interval : daily
12+ - package-ecosystem : gomod
13+ directory : /store/vault
1814 schedule :
19- interval : " daily"
15+ interval : daily
Original file line number Diff line number Diff line change 1- name : " CodeQL "
2-
1+ ---
2+ name : CodeQL
33on :
44 push :
55 branches : [master]
66 pull_request :
77 branches : [master]
88 schedule :
9- - cron : " 38 22 * * 1"
10-
9+ - cron : 38 22 * * 1
1110jobs :
1211 analyze :
1312 name : Analyze
@@ -16,13 +15,11 @@ jobs:
1615 actions : read
1716 contents : read
1817 security-events : write
19- strategy :
20- fail-fast : false
2118 steps :
2219 - name : Set up Go
2320 uses : actions/setup-go@v5
2421 with :
25- go-version : 1.21 .x
22+ go-version : 1.22 .x
2623 - name : Checkout repository
2724 uses : actions/checkout@v4
2825 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 1+ ---
12name : Build
2-
33on :
44 push :
55 branches : [master]
66 pull_request :
77 branches : [master]
8-
98jobs :
109 build :
1110 runs-on : ubuntu-latest
12- name : ${{ matrix.name }} - 1.21
11+ name : ${{ matrix.name }} - 1.22
1312 strategy :
1413 matrix :
15- dir : [".", " ./store/awsrds", " ./store/vault" ]
14+ dir : [., ./store/awsrds, ./store/vault]
1615 include :
17- - dir : " . "
18- name : " go-db-credential-refresh"
19- - dir : " ./store/awsrds"
20- name : " store/awsrds"
21- - dir : " ./store/vault"
22- name : " store/vault"
16+ - dir : .
17+ name : go-db-credential-refresh
18+ - dir : ./store/awsrds
19+ name : store/awsrds
20+ - dir : ./store/vault
21+ name : store/vault
2322 steps :
2423 - uses : actions/checkout@v4
2524 - uses : actions/setup-go@v5
2625 with :
27- go-version : 1.21
28- cache-dependency-path : " ${{ matrix.dir }}/go.sum"
26+ go-version : 1.22
27+ cache-dependency-path : ${{ matrix.dir }}/go.sum
2928 - name : Build
3029 run : go build -mod=readonly -v ./...
3130 working-directory : ${{ matrix.dir }}
Original file line number Diff line number Diff line change 1+ ---
12name : Lint
2-
33on :
44 push :
55 branches : [master]
66 pull_request :
77 branches : [master]
8-
98jobs :
109 lint :
1110 runs-on : ubuntu-latest
12- name : ${{ matrix.name }} - 1.21
11+ name : ${{ matrix.name }} - 1.22
1312 strategy :
1413 matrix :
15- dir : [".", " ./store/awsrds", " ./store/vault" ]
14+ dir : [., ./store/awsrds, ./store/vault]
1615 include :
17- - dir : " . "
18- name : " go-db-credential-refresh"
19- - dir : " ./store/awsrds"
20- name : " store/awsrds"
21- - dir : " ./store/vault"
22- name : " store/vault"
16+ - dir : .
17+ name : go-db-credential-refresh
18+ - dir : ./store/awsrds
19+ name : store/awsrds
20+ - dir : ./store/vault
21+ name : store/vault
2322 steps :
2423 - uses : actions/checkout@v4
2524 - uses : actions/setup-go@v5
2625 with :
27- go-version : 1.21
28- cache-dependency-path : " ${{ matrix.dir }}/go.sum"
26+ go-version : 1.22
27+ cache-dependency-path : ${{ matrix.dir }}/go.sum
2928 - name : golangci-lint
3029 uses : golangci/golangci-lint-action@v4
3130 with :
Original file line number Diff line number Diff line change 1+ ---
12name : Test
2-
33on :
44 push :
55 branches : [master]
66 pull_request :
77 branches : [master]
8-
98jobs :
109 lint :
1110 runs-on : ubuntu-latest
12- name : ${{ matrix.name }} - 1.21
11+ name : ${{ matrix.name }} - 1.22
1312 strategy :
1413 matrix :
15- dir : [".", " ./store/awsrds", " ./store/vault" ]
14+ dir : [., ./store/awsrds, ./store/vault]
1615 include :
17- - dir : " . "
18- name : " go-db-credential-refresh"
19- - dir : " ./store/awsrds"
20- name : " store/awsrds"
21- - dir : " ./store/vault"
22- name : " store/vault"
16+ - dir : .
17+ name : go-db-credential-refresh
18+ - dir : ./store/awsrds
19+ name : store/awsrds
20+ - dir : ./store/vault
21+ name : store/vault
2322 steps :
2423 - uses : actions/checkout@v4
2524 - uses : actions/setup-go@v5
2625 with :
27- go-version : 1.21
28- cache-dependency-path : " ${{ matrix.dir }}/go.sum"
26+ go-version : 1.22
27+ cache-dependency-path : ${{ matrix.dir }}/go.sum
2928 - name : Test
3029 working-directory : ${{ matrix.dir }}
3130 run : go test -mod=readonly ./... -coverprofile=coverage.txt
3231 - name : Coverage
3332 uses : codecov/codecov-action@v3
3433 with :
3534 file : ${{ matrix.dir }}/coverage.txt
35+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments