Codebase list golang-github-mitchellh-mapstructure / 25ee533
Use GH Actions Mitchell Hashimoto 3 years ago
2 changed file(s) with 18 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
0 on: [push, pull_request]
1 name: Test
2 jobs:
3 test:
4 strategy:
5 matrix:
6 go-version: [1.15.x]
7 os: [ubuntu-latest]
8 runs-on: ${{ matrix.os }}
9 steps:
10 - name: Install Go
11 uses: actions/setup-go@v2
12 with:
13 go-version: ${{ matrix.go-version }}
14 - name: Checkout code
15 uses: actions/checkout@v2
16 - name: Test
17 run: go test ./...
+0
-9
.travis.yml less more
0 language: go
1
2 go:
3 - "1.14.x"
4 - tip
5
6 script:
7 - go test
8 - go test -bench . -benchmem