Skip to content

Bump golangci lint and fix issues#121

Merged
williammartin merged 1 commit into
mainfrom
wm-bump-golang-ci-lint
May 20, 2026
Merged

Bump golangci lint and fix issues#121
williammartin merged 1 commit into
mainfrom
wm-bump-golang-ci-lint

Conversation

@williammartin

@williammartin williammartin commented May 20, 2026

Copy link
Copy Markdown
Member

Description

This repo was super out of date on some of this stuff.

➜  oauth git:(wm-bump-golang-ci-lint) golangci-lint run
0 issues.

@williammartin williammartin force-pushed the wm-bump-golang-ci-lint branch from 4d7afb2 to 6892c09 Compare May 20, 2026 12:42
@williammartin williammartin marked this pull request as ready for review May 20, 2026 12:44
@williammartin williammartin requested a review from a team as a code owner May 20, 2026 12:44
@williammartin williammartin requested review from BagToad and Copilot May 20, 2026 12:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s linting setup to a newer golangci-lint configuration/action and adjusts a couple of tests to satisfy updated linter rules.

Changes:

  • Migrate .golangci.yml to config version: "2" and reorganize linter/formatter configuration.
  • Update the GitHub Actions lint workflow to use golangci/golangci-lint-action and a stable Go toolchain.
  • Fix linter warnings in tests by marking unused parameters as _.
Show a summary per file
File Description
device/device_flow_test.go Marks an unused factory parameter as unused (_) to satisfy linting.
api/form_test.go Marks unused PostForm parameters as unused (_) to satisfy linting.
.golangci.yml Migrates to config v2 format and adjusts enabled linters/formatters.
.github/workflows/lint.yml Switches linting to the official golangci-lint GitHub Action and updates Go setup.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 4/4 changed files
  • Comments generated: 1

Comment thread .golangci.yml Outdated
@williammartin williammartin force-pushed the wm-bump-golang-ci-lint branch from 6892c09 to 81dbd4d Compare May 20, 2026 12:54
@williammartin williammartin force-pushed the wm-bump-golang-ci-lint branch from 81dbd4d to 3c28b94 Compare May 20, 2026 12:57
@williammartin williammartin merged commit 588a048 into main May 20, 2026
23 checks passed
@williammartin williammartin deleted the wm-bump-golang-ci-lint branch May 20, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants