chore: only build/test on master branch for host arch
This commit is contained in:
parent
d604d83c72
commit
91ff590b9c
1 changed files with 8 additions and 4 deletions
|
@ -1,14 +1,18 @@
|
|||
name: Build project
|
||||
name: Build and test project
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull-request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: [debian-12]
|
||||
runs-on: debian-12
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [ '1.22' ]
|
||||
|
@ -23,9 +27,9 @@ jobs:
|
|||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Build plugins for all architectures
|
||||
- name: Build for host architecture
|
||||
run: |
|
||||
make build-cross
|
||||
make build
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue