2023-05-21 19:18:05 +00:00
|
|
|
name: Test
|
2023-05-21 19:15:28 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
GOPRIVATE: git.sr.ht
|
|
|
|
|
|
|
|
jobs:
|
2023-05-21 19:18:05 +00:00
|
|
|
test:
|
2024-04-20 15:42:38 +00:00
|
|
|
runs-on: docker
|
2023-05-21 19:15:28 +00:00
|
|
|
steps:
|
2024-04-20 14:56:26 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-05-21 19:15:28 +00:00
|
|
|
- name: Set up Go
|
2024-04-20 14:56:26 +00:00
|
|
|
uses: actions/setup-go@v5
|
2023-05-21 19:15:28 +00:00
|
|
|
with:
|
2024-04-20 14:56:26 +00:00
|
|
|
go-version-file: 'go.mod'
|
2023-05-21 19:15:28 +00:00
|
|
|
- name: Test
|
|
|
|
run: go test -v ./...
|