Skip to content

Commit 2b99e3b

Browse files
authored
chore(ci): fix dagger linter (#604)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 1c059f7 commit 2b99e3b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
buf_api_token: ${{ secrets.buf_api_token }}
5454
- uses: bufbuild/buf-lint-action@bd48f53224baaaf0fc55de9a913e7680ca6dbea4 # v1.0.3
5555

56-
temporarily disabled until we stabilize the module
5756
lint-dagger-module:
5857
runs-on: ubuntu-latest
5958
steps:
@@ -76,5 +75,5 @@ jobs:
7675
- name: Lint
7776
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
7877
with:
79-
working-directory: extras/dagger/src
78+
working-directory: extras/dagger
8079
version: v1.54

extras/dagger/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (att *Attestation) Status(ctx context.Context) (string, error) {
120120
// if err := att.Sync(ctx); err != nil {
121121
// return nil, err
122122
// }
123-
func (att *Attestation) Sync(ctx context.Context) error {
123+
func (att *Attestation) Sync(_ context.Context) error {
124124
return nil
125125
}
126126

0 commit comments

Comments
 (0)