Skip to content

build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 #274

build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0

build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 #274

Workflow file for this run

name: Go
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
go:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- if: matrix.os == 'ubuntu-latest'
uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: matrix.os == 'ubuntu-latest'
run: |
go install golang.org/x/tools/cmd/goimports@latest
go install mvdan.cc/gofumpt@latest
just checkfmt
- run: |
go test -race -v ./...
go test -race -v -tags=debug ./...
- run: |
go build -race -v ./...
go build -race -v -tags=debug ./...
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: golangci-lint
with:
skip-cache: true
uses: golangci/golangci-lint-action@v4
- name: golangci-lint debug
with:
skip-cache: true
env:
GOFLAGS: -tags=debug
uses: golangci/golangci-lint-action@v4