wip
Some checks failed
Test / test (push) Failing after 26s

This commit is contained in:
2026-02-15 20:42:43 +01:00
parent e12b1ffe3e
commit 38c65df769

View File

@@ -9,16 +9,11 @@ on:
jobs:
test:
runs-on: x86_64
container: golang:1.23
steps:
- name: Checkout
run: |
git clone --depth=1 --branch="${GITHUB_REF_NAME}" "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" .
- name: Install Go
run: |
GO_VERSION=$(grep '^go ' go.mod | awk '{print $2}')
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | sudo tar -C /usr/local -xz
echo "/usr/local/go/bin" >> $GITHUB_PATH
- name: Run tests
run: go test -v -race -coverprofile=coverage.out ./...