Skip to content

Commit

Permalink
chore: update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Dec 21, 2023
1 parent 19a6fcb commit 7502470
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Test
on: pull_request
name: test
on:
pull_request:
branches:
- main
permissions: {}
jobs:
go-test:
test-go:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: stable
- name: Run Tests
run: go test -v ./...
- run: go test -v ./...

0 comments on commit 7502470

Please sign in to comment.