Skip to content

Commit

Permalink
Add bchutil linting github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Dec 12, 2024
1 parent 49194ea commit 1f0b54e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: bchutil Linter
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.23.4"]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install golangci-lint
run: >-
curl -sfL
https://install.goreleaser.com/github.com/golangci/golangci-lint.sh |
sh -s -- -b $(go env GOPATH)/bin v1.17.1
env:
GO111MODULE: on
- name: Run goclean.sh
run: ./goclean.sh
env:
GO111MODULE: on

0 comments on commit 1f0b54e

Please sign in to comment.