fix(ci): rename workflows; add golang ci lint
Some checks failed
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 15s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 27s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 57s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 17s

This commit is contained in:
2025-08-12 09:25:53 +02:00
parent 794c779667
commit b4dcb26b45
9 changed files with 197 additions and 26 deletions

View File

@ -1,4 +1,4 @@
name: Golang Tests
name: "Run Golang tests"
on:
pull_request:
@ -6,16 +6,34 @@ on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
jobs:
unittest:
# integration-test:
# name: "Run integration tests"
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# go: [ stable ]
# os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
# steps:
# - uses: actions/checkout@v4.3.0
# - uses: actions/setup-go@v5.5.0
# with:
# go-version: ${{ matrix.go }}
# - env:
# GOPROXY: ${{ vars.GOPROXY }}
# run: make test/integration
unit-test:
name: "Run unit tests"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ stable ]
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v4.3.0
- uses: actions/setup-go@v5.5.0
with:
go-version: ${{ matrix.go }}