Skip to content

Commit

Permalink
ci: Lint YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
jshlbrd committed Aug 22, 2024
1 parent a1205e0 commit 71fe4bb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: code

on:
pull_request:
branches: [ main ]
branches: [main]

jobs:
go-v1:
Expand All @@ -12,14 +12,14 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.22

- name: Testing
run: go test -timeout 30s -v ./...
run: go test -timeout 30s -v ./...
working-directory: ./v1/

- name: Linting
Expand All @@ -35,14 +35,14 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.22

- name: Testing
run: go test -timeout 30s -v ./...
run: go test -timeout 30s -v ./...
working-directory: ./v2/

- name: Linting
Expand All @@ -60,10 +60,10 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"

- name: Linting
- run: |
run: |
pip3 install black
find -name *.py | xargs black --check
Expand Down

0 comments on commit 71fe4bb

Please sign in to comment.