Decouple workflow from just
Some checks failed
test / go-test (push) Failing after 5m13s

This commit is contained in:
2026-03-19 01:16:13 +00:00
parent 9527311a12
commit 6b47951ff8

View File

@@ -4,6 +4,9 @@ on:
push: push:
pull_request: pull_request:
env:
build_path: _build
jobs: jobs:
go-test: go-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -16,16 +19,16 @@ jobs:
with: with:
go-version: "1.26.x" go-version: "1.26.x"
- name: Install just - name: Check Formatting
run: | run: |
sudo apt-get update gofmt -l .
sudo apt-get install -y just exit $(gofmt -l . | wc -l)
- name: Run tests - name: Run tests
run: just test run: go test --vebose ./...
- name: Generate coverage - name: Generate coverage
run: just test-coverage run: go test -v -coverprofile=${build_path}/coverage.out ./...
- name: Code Coverage Report - name: Code Coverage Report
uses: irongut/CodeCoverageSummary@v1.3.0 uses: irongut/CodeCoverageSummary@v1.3.0