18 lines
409 B
YAML
18 lines
409 B
YAML
name: Go
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: [ '1.23' ]
|
|
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
|
|
run: go test -v ./... |