We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f587fc1 commit 43fccb3Copy full SHA for 43fccb3
.github/workflows/ci.yml
@@ -4,21 +4,27 @@ on:
4
branches:
5
- main
6
pull_request:
7
+ paths:
8
+ - '**.go'
9
+ - go.mod
10
+ - go.sum
11
+ - .github/workflows/ci.yml
12
-permissions:
- contents: read
13
+concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
16
17
jobs:
18
ci:
19
name: test and lint
20
runs-on: ubuntu-latest
21
steps:
22
- name: Checkout
- uses: actions/checkout@v4
- - name: Set up Go
23
+ uses: actions/checkout@v4.2.2
24
+ - name: Setup Go
25
uses: actions/setup-go@v5
26
with:
- go-version: stable
27
+ go-version-file: 'go.mod'
28
- name: Run test
29
run: go test -v ./...
30
- name: Run golangci-lint
0 commit comments