diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f6d3f08..39fc51f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,6 +8,11 @@ on: branches: - master +permissions: + contents: read + pull-requests: read + checks: write + jobs: lint: name: Lint diff --git a/.gitignore b/.gitignore index 610b977..556c687 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,8 @@ wireguard-ui # Dependency directories and files (remove the comment below to include it) vendor/ -assets/ +assets/* +!assets/.gitkeep node_modules/ # IDEs diff --git a/.golangci.yml b/.golangci.yml index 42ec4b6..ead9b57 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -10,7 +10,6 @@ linters: - gofmt - revive - goimports - - deadcode - govet - unused - whitespace diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29