2024-07-19 08:51:03 +02:00
|
|
|
name: Build project
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull-request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: [debian-12]
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
go-version: [ '1.21', '1.22' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout repo
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Setup Go ${{ matrix.go-version }}
|
|
|
|
uses: actions/setup-go@v5
|
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
|
|
|
|
- name: Build plugins
|
|
|
|
run: |
|
2024-07-19 14:29:51 +02:00
|
|
|
make build-cross
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
run: |
|
|
|
|
make test
|