Skip to content

Commit

Permalink
move set up go after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed Apr 18, 2023
1 parent 68a3149 commit c3b742c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:

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

- name: Set up Go 1.16
uses: actions/setup-go@v4
with:
go-version: 1.16
id: go

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

- name: Build
run: |
for i in linux-amd64 linux-arm64; do
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tunasync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:

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

- name: Set up Go 1.16
uses: actions/setup-go@v4
with:
go-version: 1.16
id: go

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

- name: Get dependencies
run: |
go get -v -t -d ./cmd/tunasync
Expand Down Expand Up @@ -50,15 +50,15 @@ jobs:
sudo apt-get install -y cgroup-tools
docker pull alpine:3.8
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set up Go 1.16
uses: actions/setup-go@v4
with:
go-version: 1.16
id: go

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

- name: Run Unit tests.
run: |
go install github.com/wadey/gocovmerge@latest
Expand Down

0 comments on commit c3b742c

Please sign in to comment.