Skip to content

Commit 4b89627

Browse files
committed
green ci
1 parent 83fde0c commit 4b89627

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414

15-
- name: Set up Go 1.14
15+
- name: Set up Go 1.18
1616
uses: actions/setup-go@v1
1717
with:
18-
go-version: 1.14
18+
go-version: 1.18
1919
id: go
2020

2121
- name: Check out code into the Go module directory
2222
uses: actions/checkout@v2
2323

24-
- name: Get dependencies
25-
run: go vet ./...
26-
2724
- name: Install dependencies
2825
run: make install
2926

27+
- name: Go Vet
28+
run: go vet ./...
29+
3030
- name: Go Test
3131
run: make test
32-
32+
3333
push:
3434
name: Push Docker image to Github Packages
3535
runs-on: ubuntu-latest
3636
needs: build
3737
if: github.event_name != 'pull_request'
38-
steps:
38+
steps:
3939
- name: Checkout
4040
uses: actions/checkout@v2
4141

.github/workflows/win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Setup Go environment
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: 1.14.4 # optional
21+
go-version: 1.18 # optional
2222

2323
- name: Build Dingdongbot
2424
run: |
25-
go vet ./...
2625
make install
26+
go vet ./...
2727
make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ all: install bot
33

44
.PHONY: install
55
install:
6-
go get -u golang.org/x/lint/golint
6+
go install golang.org/x/lint/golint@latest
77

88
.PHONY: bot
99
bot:

0 commit comments

Comments
 (0)