Skip to content

Commit

Permalink
[533714](Bug) adding PR checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bcvery1 committed Feb 8, 2024
1 parent 6f4fb54 commit 92e6ec7
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: golangci-lint

on:
pull_request:
branches: [ "main" ]

jobs:
golangci:
name: lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golanci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55
working-directory: go
18 changes: 18 additions & 0 deletions .github/workflows/govet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: GoVet

on:
pull_request:
branches: [ "main" ]

jobs:
vet:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: vet
run: go vet --all ./...

0 comments on commit 92e6ec7

Please sign in to comment.