Skip to content

Commit

Permalink
update go.yml (nacos-group#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin0325 authored Oct 27, 2022
1 parent d7d2210 commit cad5a5e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
config:
- go_version: 1.17
- go_version: 1.15
steps:

- name: Set up Go 1.x
Expand All @@ -23,16 +23,9 @@ jobs:
go-version: ${{ matrix.config.go_version }}
id: go

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install goimports
run: go get golang.org/x/tools/cmd/goimports

- name: Test
run: |
diff -u <(echo -n) <(gofmt -d -s .)
Expand Down

0 comments on commit cad5a5e

Please sign in to comment.