fix(deps): update module github.com/magefile/mage to v1.16.1 #59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: [pull_request] | |
| jobs: | |
| go: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: [1.12.x, 1.13.x] | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v1 | |
| - name: Test | |
| run: | | |
| export PATH=${PATH}:`go env GOPATH`/bin | |
| go install github.com/magefile/mage | |
| mage test | |
| go-mod-tidy: | |
| name: "Go mod tidy" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.14.x | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v1 | |
| - name: Tidy check | |
| run: | | |
| export PATH=${PATH}:`go env GOPATH`/bin | |
| go install github.com/magefile/mage | |
| mage gomodtidy |