Skip to content

Commit afed9fc

Browse files
committed
Merge branch 'matrix-test' of https://github.com/aubelsb2/typescriptify-golang-structs into aubelsb2-matrix-test
2 parents ade4632 + d0c8fd8 commit afed9fc

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = crlf

.github/workflows/go.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,28 @@ on:
77
branches: 'master'
88

99
jobs:
10-
1110
build:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
go-version: [1.16.x]
15+
os: [ubuntu-latest, macos-latest, windows-latest]
1216
name: Build and test
13-
runs-on: ubuntu-latest
17+
runs-on: ${{ matrix.os }}
1418
steps:
1519

1620
- name: Set up Go 1.x
1721
uses: actions/setup-go@v2
1822
with:
19-
go-version: ^1.13
23+
go-version: ${{ matrix.go-version }}
2024
id: go
2125

2226
- name: Check out code into the Go module directory
2327
uses: actions/checkout@v2
2428

2529
- name: Get dependencies
2630
run: |
27-
go get -v -t -d ./...
28-
if [ -f Gopkg.toml ]; then
29-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30-
dep ensure
31-
fi
31+
go mod download
3232
3333
- name: Build
3434
run: |

0 commit comments

Comments
 (0)