Skip to content

Commit

Permalink
opt: 调整CI
Browse files Browse the repository at this point in the history
  • Loading branch information
royalmorty committed Mar 23, 2023
1 parent c82dd13 commit 83df4e2
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
name: Go
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.20
id: go

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Get dependencies
run: go get -v -t -d ./...
- name: Get dependencies
run: go get -v -t -d ./...

- name: Test
run: go test -v .
- name: Test
run: go test -v .

- name: Build
run: go build -v .
- name: Build
run: go build -v .

0 comments on commit 83df4e2

Please sign in to comment.