Dan Anglin
cfb64d80aa
All checks were successful
/ test (pull_request) Successful in 25s
- add a workflow for Forgejo Actions - add a workflow for GitHub Actions
20 lines
378 B
YAML
20 lines
378 B
YAML
---
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: https://code.forgejo.org/actions/checkout@v3
|
|
- name: Setup Go
|
|
uses: https://code.forgejo.org/actions/setup-go@v3
|
|
with:
|
|
go-version: '1.21'
|
|
- name: Test
|
|
run: go test -v ./...
|