Skip to content

Commit

Permalink
build: add linter workflow for Python and Go
Browse files Browse the repository at this point in the history
  • Loading branch information
developStorm committed May 21, 2024
1 parent 6e49325 commit fd81ca0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on: [push, pull_request]

jobs:
py-black:
name: Python Formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
go-fmt:
name: Go Formatter
runs-on: ubuntu-latest
if: false # Pending activation
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Run go fmt
run: go fmt ./...

0 comments on commit fd81ca0

Please sign in to comment.