Skip to content

Commit dd9816b

Browse files
committed
Sync repo templates ⚙
Sync with coreos/repo-templates@0f25e7f.
1 parent 8a507ee commit dd9816b

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed

.github/dependabot.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
# Maintained in https://github.com/coreos/repo-templates
2+
# Do not edit downstream.
3+
14
version: 2
25
updates:
3-
- package-ecosystem: gomod
4-
directory: /
5-
schedule:
6-
interval: weekly
7-
open-pull-requests-limit: 10
8-
labels:
9-
- dependency
6+
- package-ecosystem: gomod
7+
directory: /
8+
schedule:
9+
interval: weekly
10+
open-pull-requests-limit: 10
11+
labels:
12+
- dependency

.github/workflows/go.yml

+15-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1-
name: Go
1+
# Maintained in https://github.com/coreos/repo-templates
2+
# Do not edit downstream.
23

4+
name: Go
35
on:
46
push:
57
branches: [main]
68
pull_request:
79
branches: [main]
8-
910
permissions:
1011
contents: read
1112

13+
# don't waste job slots on superseded code
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1218
jobs:
13-
test-build:
14-
name: Test build
19+
test:
20+
name: Test
1521
strategy:
1622
matrix:
1723
go-version: [1.18.x, 1.19.x, 1.20.x]
@@ -23,10 +29,12 @@ jobs:
2329
go-version: ${{ matrix.go-version }}
2430
- name: Check out repository
2531
uses: actions/checkout@v3
26-
- name: Run tests
27-
run: go test ./...
32+
- name: Check modules
33+
run: go mod verify
34+
- name: Test
35+
run: go test -v ./...
2836
- name: Run linter
2937
uses: golangci/golangci-lint-action@v3
3038
with:
31-
version: v1.51.1
39+
version: v1.52.2
3240
args: -E=gofmt --timeout=30m0s

0 commit comments

Comments
 (0)