mirror of
https://github.com/taigrr/adb.git
synced 2026-04-01 18:48:42 -07:00
ci: add GitHub Actions test workflow
This commit is contained in:
17
.github/workflows/test.yml
vendored
Normal file
17
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Test
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version-file: go.mod
|
||||||
|
- run: go test -race ./...
|
||||||
|
- run: go vet ./...
|
||||||
|
- run: go build ./...
|
||||||
|
|
||||||
Reference in New Issue
Block a user