gomonop/.forgejo/workflows/build.yaml

30 lines
449 B
YAML
Raw Normal View History

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: |
go mod download
./build.sh