We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f717f1 commit a23ed92Copy full SHA for a23ed92
.github/workflows/go-lint.yml
@@ -9,15 +9,17 @@ permissions:
9
contents: read
10
jobs:
11
golangci:
12
- name: lint
+ name: Lint
13
runs-on: ubuntu-latest
14
steps:
15
- - uses: actions/setup-go@v3
16
- with:
17
- go-version: ^1.19
18
- uses: actions/checkout@v3
+ - name: Read Go version
+ run: echo "GO_VERSION=$(cat ./.go-version)" >> $GITHUB_ENV
+ - uses: actions/setup-go@v4
19
+ with:
20
+ go-version: ${{ env.GO_VERSION }}
21
- name: golangci-lint
- run: cd server
22
uses: golangci/golangci-lint-action@v3
23
with:
- version: latest
24
+ version: latest
25
+ args: '--timeout 3m0s'
server/.go-version
@@ -0,0 +1 @@
1
+1.19
0 commit comments