This repository was archived by the owner on Jan 29, 2025. It is now read-only.
File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 18
18
goos : [linux, windows, darwin]
19
19
goarch : [amd64, arm64]
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v3.0.0
22
22
- name : setup golang
23
- uses : actions/setup-go@v2
23
+ uses : actions/setup-go@v3.0.0
24
24
with :
25
25
go-version : 1.17
26
26
- name : add build file suffix
32
32
GOARCH : ${{ matrix.goarch }}
33
33
run : go build -o build/monstercat_${{ matrix.goos }}_${{ matrix.goarch }}${{ env.SUFFIX }} main.go
34
34
- name : store binary
35
- uses : actions/upload-artifact@v2
35
+ uses : actions/upload-artifact@v3.0.0
36
36
with :
37
37
name : ${{ matrix.goos }}_${{ matrix.goarch }}
38
38
path : build/
@@ -42,10 +42,10 @@ jobs:
42
42
if : startsWith(github.ref, 'refs/tags/')
43
43
steps :
44
44
- name : download all binaries
45
- uses : actions/download-artifact@v2
45
+ uses : actions/download-artifact@v3.0.0
46
46
with :
47
47
path : build/
48
48
- name : upload artifacts to release
49
- uses : softprops/action-gh-release@v1
49
+ uses : softprops/action-gh-release@v0.1.14
50
50
with :
51
51
files : build/**/*
Original file line number Diff line number Diff line change @@ -12,18 +12,18 @@ jobs:
12
12
test :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v3.0.0
16
16
- name : setup golang
17
- uses : actions/setup-go@v2
17
+ uses : actions/setup-go@v3.0.0
18
18
with :
19
19
go-version : 1.17
20
20
- name : run tests
21
21
run : go test -cover -v ./...
22
22
lint :
23
23
runs-on : ubuntu-latest
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v3.0.0
26
26
- name : run revive
27
- uses : morphy2k/revive-action@v2
27
+ uses : morphy2k/revive-action@v2.2.5
28
28
with :
29
29
exclude : " ./vendor/..."
Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2020-2021 Marvin Menzerath
3
+ Copyright (c) 2020-2022 Marvin Menzerath
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments