Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 65d74b0

Browse files
author
Aline Freitas
authored
ci: use go 1.15 & 1.16 on CI (#4)
1 parent b360a2b commit 65d74b0

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,25 @@ jobs:
55
strategy:
66
fail-fast: false
77
matrix:
8+
go-version: [1.15.x, 1.16.x]
89
os: [ubuntu-latest, windows-latest, macos-latest]
910
runs-on: ${{ matrix.os }}
10-
1111
steps:
12-
- name: Set up Go 1.13
12+
-
13+
name: Set up Go
1314
uses: actions/setup-go@v1
1415
with:
15-
go-version: 1.13
16-
17-
- name: Check out code into the Go module directory
16+
go-version: ${{ matrix.go-version }}
17+
-
18+
name: Check out code into the Go module directory
1819
uses: actions/checkout@v2
19-
20-
- name: Verify dependencies
20+
with:
21+
fetch-depth: 0
22+
-
23+
name: Verify dependencies
2124
run: go mod verify
22-
23-
- name: Build
25+
-
26+
name: Build
2427
shell: bash
2528
run: |
2629
go build -v ./cmd/tog

0 commit comments

Comments
 (0)