diff options
author | Mike Steinert <[email protected]> | 2023-11-29 20:08:15 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-29 20:08:15 -0600 |
commit | 4ce1d8a7e0b557e7092b3e759037d5cbcb3f9380 (patch) | |
tree | b4e32467d5e0256f2d4a8854735b011b3430fa1f /.github/workflows/lint.yaml | |
parent | a85a609bbe4f52a2f19a24bcfbfcdb3c23decd45 (diff) | |
parent | 067f634acb780246805728d068f2bfcedcc4a4ea (diff) |
Merge pull request #15 from 3v1n0/safer-transaction
Safer transaction: add End() method and don't use as error
Diffstat (limited to '.github/workflows/lint.yaml')
-rw-r--r-- | .github/workflows/lint.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..771e735 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,22 @@ +on: [push, pull_request] +name: Lint + +permissions: + contents: read + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.21' + cache: false + - name: Install PAM + run: sudo apt install -y libpam-dev + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.54 |