Create tests.yml

This commit is contained in:
Tianyu Liu
2024-10-18 17:13:16 +02:00
committed by GitHub
parent 7a4b28fe01
commit 7827ec794d

22
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Run short tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Test
run: go test -v ./...