Skip to content

Commit 12b04c5

Browse files
committed
feat(ci): use meta lint workflow
This replaces the existing lint workflow and config with the one from the meta repository.
1 parent 566879a commit 12b04c5

3 files changed

Lines changed: 8 additions & 107 deletions

File tree

.github/workflows/lint.yml

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
1-
name: lint
2-
on:
3-
push:
4-
pull_request:
5-
6-
permissions:
7-
contents: read
8-
# Optional: allow read access to pull request. Use with `only-new-issues` option.
9-
pull-requests: read
10-
11-
jobs:
12-
golangci:
13-
name: lint
14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-latest]
17-
runs-on: ${{ matrix.os }}
18-
steps:
19-
- name: Install Go
20-
uses: actions/setup-go@v5
21-
with:
22-
go-version: ^1
23-
24-
- uses: actions/checkout@v4
25-
- name: golangci-lint
26-
uses: golangci/golangci-lint-action@v6
27-
with:
28-
# Optional: golangci-lint command line arguments.
29-
#args:
30-
# Optional: show only new issues if it's a pull request. The default value is `false`.
31-
only-new-issues: true
1+
name: lint
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
lint:
8+
uses: charmbracelet/meta/.github/workflows/lint.yml@main

.golangci-soft.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.golangci.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)