Downgrade actions/setup-go
Some checks failed
Test and build / test (push) Failing after 17s
Test and build / build (arm, 6, linux) (push) Has been cancelled
Test and build / build (amd64, , linux) (push) Has been cancelled
Test and build / build (arm, 7, linux) (push) Has been cancelled

This commit is contained in:
2026-02-23 12:29:00 +01:00
parent ddddf3b4ad
commit f5e537ba6a
2 changed files with 20 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
name: Build
name: Test and build
on:
push:
@@ -6,7 +6,23 @@ permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
#- name: golangci-lint
# uses: golangci/golangci-lint-action@v9
# with:
# go-version: ${{ matrix.go }}
# version: v2.6
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
@@ -23,7 +39,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
uses: actions/setup-go@v5
with:
go-version: stable
- name: Set target variables
@@ -37,9 +53,9 @@ jobs:
run: go mod download
- name: Make build directory
run: mkdir -p build
- name: Build hamview-collector (${{ matrix.goos}} ${{ matrix.goarch }}${{ matrix.goarm }})
- name: Build hamview-collector
run: go build -o build/hamview-collector.${{ matrix.goarch }}${{ matrix.goarm }} -v ./cmd/hamview-collector
- name: Build hamview-receiver (${{ matrix.goos}} ${{ matrix.goarch }}${{ matrix.goarm }})
- name: Build hamview-receiver
run: go build -o build/hamview-receiver.${{ matrix.goarch }}${{ matrix.goarm }} -v ./cmd/hamview-receiver
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3