From 012e4cb142777b8c29b715381ef49cdee0f5d6f9 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Wed, 27 Mar 2024 10:48:07 -0700 Subject: [PATCH] test linter --- .gitea/workflows/lint.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/lint.yaml diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml new file mode 100644 index 0000000..55492fc --- /dev/null +++ b/.gitea/workflows/lint.yaml @@ -0,0 +1,21 @@ +name: Lint +on: + - push +jobs: + lint: + name: golangci-lint + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-go@v4 + with: + go-version: "1.21.7" + cache: false + + - name: Check out code + uses: actions/checkout@v3 + + - name: Lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.55