Skip to content

build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.10 #157

build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.10

build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.10 #157

Workflow file for this run

name: Go
on:
push:
tags:
- v*
branches:
- master
- main
paths:
- '**.go'
- ".goreleaser.yml"
- ".golangci.yml"
- ".dockerignore"
- "Makefile"
- "go.*"
- ".github/workflows/go.yml"
pull_request:
paths:
- '**.go'
- ".goreleaser.yml"
- ".golangci.yml"
- ".dockerignore"
- "Makefile"
- "go.*"
- ".github/workflows/go.yml"
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
github-token: ${{ secrets.GITHUB_TOKEN }}
args: --timeout=2m
only-new-issues: false
working-directory: .
tests:
needs: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test