Skip to content

Commit

Permalink
enh: lint and build action (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
notdodo authored Nov 10, 2023
1 parent d6c6bb6 commit 2c0b7b5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 28 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,24 @@ on:
paths:
- "**.go"

permissions:
contents: read
pull-requests: read

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest

build:
strategy:
matrix:
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/golanci-lint.yml

This file was deleted.

0 comments on commit 2c0b7b5

Please sign in to comment.