Skip to content

Upgrade goreleaser (#482) #1438

Upgrade goreleaser (#482)

Upgrade goreleaser (#482) #1438

Workflow file for this run

name: CI
on:
push:
branches: main
paths-ignore:
- "README.md"
- "docs/**"
pull_request:
branches: main
paths-ignore:
- "README.md"
- "docs/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go build -v
- name: Unit tests
run: go test -v ./...
- name: All tests (integration + cached unit)
run: go test --tags=integration -v ./...
env:
VERBOSE_TESTS: 1