x/.gitea/workflows/build.yaml

18 lines
409 B
YAML
Raw Normal View History

2024-04-27 06:20:51 +00:00
name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
2024-04-27 22:43:57 +00:00
run: go test -v ./...