eth-testing/.gitea/workflows/test.yml
2024-07-04 00:57:33 +08:00

22 lines
367 B
YAML

name: Test
on:
pull_request:
branches: '*'
push:
branches:
- main
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true
- name: Run unit tests
run: go test -v ./...