diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6997d6..94e6604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,9 @@ on: - cron: "0 7 * * 6" workflow_dispatch: { } +permissions: + contents: read + jobs: lint: name: Linter @@ -24,7 +27,6 @@ jobs: with: go-version-file: "go.mod" check-latest: true - cache: true - name: Gofmt check run: diff -u <(echo -n) <(gofmt -d .)