mirror of
https://github.com/1f349/lavender.git
synced 2024-12-22 23:54:10 +00:00
16 lines
339 B
YAML
16 lines
339 B
YAML
|
on: [push, pull_request]
|
||
|
name: Test
|
||
|
jobs:
|
||
|
test:
|
||
|
strategy:
|
||
|
matrix:
|
||
|
go-version: [1.21.x]
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: ${{ matrix.go-version }}
|
||
|
- uses: actions/checkout@v3
|
||
|
- run: go build ./cmd/lavender/
|
||
|
- run: go test ./...
|