lwb/.github/workflows/go_test.yaml

27 lines
420 B
YAML
Raw Normal View History

2024-12-19 00:19:09 +01:00
---
name: Go Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
2025-02-06 18:26:45 +01:00
uses: actions/setup-go@v5
2024-12-19 00:19:09 +01:00
with:
2025-02-06 18:26:45 +01:00
go-version: stable
check-latest: true
2024-12-19 00:19:09 +01:00
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...