Skip to content

Commit

Permalink
misc: Update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored Nov 13, 2023
1 parent 6edf1f2 commit 765ee3a
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
on:
pull_request:
branches: [main]
branches: [main]
name: test
env:
GO111MODULE: on
GOPROXY: https://proxy.golang.org
HVM_GITHUBTOKEN: ${{ secrets.HVM_GITHUBTOKEN }}
permissions:
contents: read
jobs:
Expand All @@ -15,20 +14,18 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache: true
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Install hvm
run: go install
- name: Test
env:
HVM_GITHUBTOKEN: ${{ secrets.HVM_GITHUBTOKEN }}
run: go test ./...
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache: true
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Install hvm
run: go install
- name: Test
run: go test ./...

0 comments on commit 765ee3a

Please sign in to comment.