File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,42 +48,12 @@ jobs:
4848 echo "::error::Unit tests failed. Please check the logs above."
4949 exit 1
5050
51- lint :
52- name : Lint
53- runs-on : ubuntu-latest
54-
55- steps :
56- - name : Checkout code
57- uses : actions/checkout@v4
58-
59- - name : Set up Go
60- uses : actions/setup-go@v5
61- with :
62- go-version : ' 1.16'
63- cache : true
64-
65- - name : Run go fmt
66- run : |
67- if [ -n "$(gofmt -s -l . | grep -v vendor)" ]; then
68- echo "Go code is not formatted:"
69- gofmt -s -d . | grep -v vendor
70- exit 1
71- fi
72-
73- - name : Run go vet
74- run : go vet ./...
75-
76- - name : Check go mod tidy
77- run : |
78- go mod tidy
79- git diff --exit-code go.mod go.sum
80-
8151 build :
8252 name : Build
8353 runs-on : ubuntu-latest
8454 strategy :
8555 matrix :
86- go-version : ['1.13 ']
56+ go-version : ['1.16 ']
8757
8858 steps :
8959 - name : Checkout code
You can’t perform that action at this time.
0 commit comments