diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 4ba888c..9567b68 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -9,18 +9,18 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.21 - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.52.2 + version: v1.54.2 args: --verbose test: strategy: matrix: - go-version: [1.19] + go-version: [1.21] platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} diff --git a/.golangci.yml b/.golangci.yml index a46e8ee..267ed5d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -25,7 +25,10 @@ linters: enable: - bodyclose # - deadcode - - depguard + # depguard needs to be reviewed properly and then configured, before + # it can be re-enabled. + # https://github.com/OpenPeeDeeP/depguard#example-configs + # - depguard - dogsled # - dupl - errcheck diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d8ce6d..cd09558 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/golangci/golangci-lint - rev: v1.52.2 + rev: v1.54.2 hooks: - id: golangci-lint