Cleanup
Some checks failed
Build / build (amd64, , linux) (push) Waiting to run
Run tests / test (push) Has been cancelled
Build / build (arm, 7, linux) (push) Has been cancelled
Build / build (arm, 6, linux) (push) Has been cancelled

This commit is contained in:
2026-02-23 12:22:04 +01:00
parent 0bf5f8b10b
commit ddddf3b4ad
2 changed files with 24 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
name: Run tests name: Build
on: on:
push: push:
@@ -6,28 +6,9 @@ permissions:
contents: read contents: read
jobs: jobs:
test:
strategy:
matrix:
go: [stable]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
#- name: golangci-lint
# uses: golangci/golangci-lint-action@v9
# with:
# go-version: ${{ matrix.go }}
# version: v2.6
build: build:
strategy: strategy:
matrix: matrix:
go: [stable]
include: include:
- goos: linux - goos: linux
goarch: amd64 goarch: amd64
@@ -44,7 +25,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v6 uses: actions/setup-go@v6
with: with:
go-version: ${{ matrix.go }} go-version: stable
- name: Set target variables - name: Set target variables
run: | run: |
echo "GOOS=${{ matrix.goos }}" >> $GITHUB_ENV echo "GOOS=${{ matrix.goos }}" >> $GITHUB_ENV

View File

@@ -0,0 +1,22 @@
name: Run tests
on:
push:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
#- name: golangci-lint
# uses: golangci/golangci-lint-action@v9
# with:
# go-version: ${{ matrix.go }}
# version: v2.6