Skip to content

add CI build

add CI build #1

Workflow file for this run

ame: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 1, Col: 1): Unexpected value 'ame'
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
go:
- '1.21'
- '1.22'
- '1.23'
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Go test
run: make test
- name: Go build
run: make build