Skip to content

Commit

Permalink
fix(ci): lint configuration (#175)
Browse files Browse the repository at this point in the history
* fix: typecheck cannot be disabled

* fix: optimize cache
  • Loading branch information
ldez authored Oct 30, 2024
1 parent 7fcd0a6 commit 41877d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- uses: actions/checkout@v4
with:
path: ${{ github.repository }}
- uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/meta
path: ${{ github.repository_owner }}/meta
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand All @@ -44,17 +44,17 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- uses: actions/checkout@v4
with:
path: ${{ github.repository }}
- uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/meta
path: ${{ github.repository_owner }}/meta
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
1 change: 0 additions & 1 deletion golangci-soft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ linters:
- govet
- ineffassign
- staticcheck
- typecheck
- unused

0 comments on commit 41877d1

Please sign in to comment.