32 lines
474 B
YAML
32 lines
474 B
YAML
name: Build project
|
|
|
|
on:
|
|
push:
|
|
pull-request:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: [debian-12]
|
|
strategy:
|
|
matrix:
|
|
go-version: [ '1.22' ]
|
|
|
|
steps:
|
|
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Build plugins for all architectures
|
|
run: |
|
|
make build-cross
|
|
|
|
- name: Run tests
|
|
run: |
|
|
make test
|