We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e47987c commit 5af068dCopy full SHA for 5af068d
.github/workflows/main.yml
@@ -2,24 +2,19 @@ name: main
2
3
on:
4
push:
5
- branches: [ v2 ]
6
pull_request:
7
8
9
jobs:
10
11
build:
12
runs-on: ubuntu-latest
13
steps:
14
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
15
16
- name: Set up Go
17
- run: |
18
- curl -sL https://raw.githubusercontent.com/maxatome/install-go/v3.0/install-go.pl |
19
- perl - tip $HOME/go
20
- #uses: actions/setup-go@v2
21
- #with:
22
- # go-version: go1.18
+ uses: actions/setup-go@v4
+ with:
+ go-version: '1.20'
23
24
- name: Test
25
run: go test -v ./...
staticcheck.conf
0 commit comments