Skip to content

build(deps): Bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.2.1 in /tools/confix #1652

build(deps): Bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.2.1 in /tools/confix

build(deps): Bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.2.1 in /tools/confix #1652

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- release/**
pull_request:
merge_group:
permissions:
contents: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
# with:
# PATTERNS: |
# Makefile
# **/Makefile
# .golangci.yml
- name: run linting (long)
# if: env.GIT_DIFF
# id: lint_long
run: |
nix develop -c make lint
env:
NIX: 1
# - uses: technote-space/[email protected]
# if: steps.lint_long.outcome == 'skipped'
# id: git_diff_all
# with:
# PATTERNS: |
# **/*.go
# go.mod
# go.sum
# **/go.mod
# **/go.sum
# - name: run linting (short)
# if: steps.lint_long.outcome == 'skipped' && env.GIT_DIFF
# run: |
# nix develop -c make lint
# env:
# GIT_DIFF: ${{ env.GIT_DIFF }}
# LINT_DIFF: 1
# NIX: 1