Skip to content

Commit

Permalink
ci: consolidate lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
subpop committed Oct 9, 2024
1 parent 06fe74c commit eb46573
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Lint

on: pull_request
on:
pull_request:
workflow_dispatch:

jobs:
lint-commits:
name: Lint commits
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -22,20 +22,14 @@ jobs:
- name: Run commitsar
uses: aevea/[email protected]
lint-code:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run golangci-lint
uses: golangci/[email protected]
- uses: actions/checkout@v4
- uses: golangci/[email protected]
lint-language:
name: Lint language
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run woke
uses: get-woke/woke-action@v0
- uses: actions/checkout@v4
- uses: get-woke/woke-action@v0
with:
fail-on-error: true

0 comments on commit eb46573

Please sign in to comment.