Skip to content

ci: use gotestsum #1767

ci: use gotestsum

ci: use gotestsum #1767

Workflow file for this run

on:
pull_request:
branches:
- "*"
jobs:
run_tests:
name: Running tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup gotestsum
uses: gertd/[email protected]
with:
gotestsum_version: 1.12.0
- name: Run tests
run: gotestsum --format short-verbose ./...
run_linters:
name: Running linters
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: Go lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.55.2
args: --verbose
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
skip-cache: true
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
skip-pkg-cache: true
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
skip-build-cache: true