Skip to content

Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1 (#24) #77

Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1 (#24)

Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1 (#24) #77

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request: ~
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Go version from .tool-versions
run: echo "GO_VERSION=$(cat .tool-versions | grep -oP 'golang \K((\w+.)+\w+)')" >> $GITHUB_ENV
- name: Get golangci-lint version from .tool-versions
run: echo "GOLANGCI_LINT_VERSION=$(cat .tool-versions | grep -oP 'golangci-lint \K((\w+.)+\w+)')" >> $GITHUB_ENV
- uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: 'v${{ env.GOLANGCI_LINT_VERSION }}'
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/action@v3.0.0