Skip to content

ci: fix pipeline behaviour #4

ci: fix pipeline behaviour

ci: fix pipeline behaviour #4

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
create:
tags:
- "v*.*.*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Install dependencies
run: go mod download
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: latest
- name: Run tests
run: go test -v ./...