Merge pull request #218 from mitchellh/gh-actions
Use GH Actions
Mitchell Hashimoto authored 3 years ago
GitHub committed 3 years ago
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 ./... |