Skip to content

Fix All returning true on error #231

Fix All returning true on error

Fix All returning true on error #231

Workflow file for this run

name: Check
on:
push:
branches: [ "main" ]
tags-ignore: [ "**" ]
pull_request:
jobs:
gotest:
strategy:
matrix:
go-version: ['1.25.x', 'stable']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test -race ./...
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version: '1.25.x'
- name: Run coverage
run: go test -coverprofile=coverage.out -covermode=atomic $(go list ./... | grep -v internal/th | grep -v mockapi)
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: destel/rill
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version: '1.25.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest