30 lines
449 B
YAML
30 lines
449 B
YAML
|
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: |
|
||
|
go mod download
|
||
|
./build.sh
|