Skip to content

Commit 5af068d

Browse files
committed
Use stable go release
1 parent e47987c commit 5af068d

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.github/workflows/main.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,19 @@ name: main
22

33
on:
44
push:
5-
branches: [ v2 ]
65
pull_request:
7-
branches: [ v2 ]
86

97
jobs:
108

119
build:
1210
runs-on: ubuntu-latest
1311
steps:
14-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1513

1614
- 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
15+
uses: actions/setup-go@v4
16+
with:
17+
go-version: '1.20'
2318

2419
- name: Test
2520
run: go test -v ./...

staticcheck.conf

-4
This file was deleted.

0 commit comments

Comments
 (0)