Merge remote-tracking branch 'origin/main' into fix/replace-directive
This commit is contained in:
commit
3943539e8a
1 changed files with 25 additions and 0 deletions
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Clean vendor
|
||||
run: rm -rf vendor
|
||||
|
||||
- name: Test
|
||||
run: go test -race -v ./...
|
||||
Loading…
Add table
Add a link
Reference in a new issue