mirror of
https://github.com/Crocmagnon/fatcontext.git
synced 2024-11-09 17:53:59 +01:00
30 lines
565 B
YAML
30 lines
565 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
tags: [ "*" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
go: ['1.21', '1.22']
|
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
|
name: build
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- name: Build
|
|
run: go build -v ./...
|
|
- name: Test
|
|
run: make test
|