Skip to content

Bump actions/checkout from 5 to 6 #194

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #194

Workflow file for this run

name: Check
on:
push:
branches: [ "main" ]
tags-ignore: [ "**" ]
pull_request:
jobs:
gotest:
strategy:
matrix:
go-version: [1.21.x, 1.25.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test -race ./...
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
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@v5.4.3
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: destel/rill
- name: Upload coverage reports to Coveralls
uses: coverallsapp/github-action@v2.3.6
with:
github-token: ${{ secrets.github_token }}
file: coverage.out
format: golang