Skip to content

Commit

Permalink
chore: gopath
Browse files Browse the repository at this point in the history
  • Loading branch information
owulveryck committed Jul 7, 2020
1 parent 4134b27 commit ac8da2d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/go.yml
Expand Up @@ -11,19 +11,20 @@ jobs:
go: [1.14]
runs-on: ubuntu-latest
steps:
- name: setup env
shell: bash
run: |
echo "::set-env name=GOPATH::${{ github.workspace }}/go"
echo "::add-path::${{ github.workspace }}/go/bin"
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: setup env
run: |
echo "::set-env name=GOPATH::${{ github.workspace }}/go"
echo "::add-path::${{ github.workspace }}/go/bin"
shell: bash
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v1
with:
path: ./src/github.com/${{ github.repository }}
fetch-depth: 1
path: src/github.com/${{ github.repository }}
- name: Get dependencies
run: go get -t
- name: Run tests
Expand Down

0 comments on commit ac8da2d

Please sign in to comment.