Skip to content

Commit

Permalink
move lint to separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stsdc committed Jan 10, 2022
1 parent d345521 commit 96951d1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on: [push, pull_request]

jobs:

lint:
runs-on: ubuntu-latest
container:
image: valalang/lint

steps:
- uses: actions/checkout@v1
with:
submodules: false
- name: Lint
run: io.elementary.vala-lint -d .
14 changes: 2 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: CI
name: Build

on: [push, pull_request]

jobs:

build:

runs-on: ubuntu-latest
Expand Down Expand Up @@ -30,14 +31,3 @@ jobs:
cd build
ninja
lint:

runs-on: ubuntu-latest

container:
image: valalang/lint

steps:
- uses: actions/checkout@v1
- name: Lint
run: io.elementary.vala-lint -d .

0 comments on commit 96951d1

Please sign in to comment.