Skip to content

Commit

Permalink
chore(lint): update linter (#405)
Browse files Browse the repository at this point in the history
* chore(lint): use meta repo linter

* chore(lint): delete lint-soft workflow

* chore(lint): remove golangci files
  • Loading branch information
bashbunni authored Oct 21, 2024
1 parent fa2f4b0 commit 80b4221
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 126 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/lint-soft.yml

This file was deleted.

24 changes: 2 additions & 22 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,6 @@ on:
push:
pull_request:

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ^1

- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Optional: golangci-lint command line arguments.
#args:
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true
lint:
uses: charmbracelet/meta/.github/workflows/lint.yml@main
46 changes: 0 additions & 46 deletions .golangci-soft.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .golangci.yml

This file was deleted.

0 comments on commit 80b4221

Please sign in to comment.