refactor: reorganize project in order to include automation #1
1 changed files with 8 additions and 4 deletions
|
@ -1,14 +1,18 @@
|
||||||
name: Build project
|
name: Build and test project
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
pull-request:
|
pull-request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: [debian-12]
|
runs-on: debian-12
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [ '1.22' ]
|
go-version: [ '1.22' ]
|
||||||
|
@ -23,9 +27,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
- name: Build plugins for all architectures
|
- name: Build for host architecture
|
||||||
run: |
|
run: |
|
||||||
make build-cross
|
make build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue