Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Fix lint (#96)
Browse files Browse the repository at this point in the history
* Tweak workflow

* Run gofmt -w -s
  • Loading branch information
lestrrat authored Mar 28, 2024
1 parent c5fabe2 commit 52975fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: lint
on: [push]
on:
push: {}
pull_request:
branches:
- master
jobs:
golangci:
name: lint
Expand Down
1 change: 1 addition & 0 deletions clib/link_dynamic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !static_build
// +build !static_build

package clib
Expand Down
1 change: 1 addition & 0 deletions clib/link_static.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build static_build
// +build static_build

package clib
Expand Down

0 comments on commit 52975fd

Please sign in to comment.