Skip to content

Commit d49b1d5

Browse files
committed
ci: split linter and build jobs
1 parent 2e94093 commit d49b1d5

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: CI
42

53
# Controls when the action will run.
@@ -15,21 +13,25 @@ on:
1513

1614
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1715
jobs:
18-
# This workflow contains a single job called "build"
19-
build:
20-
# The type of runner that the job will run on
16+
lint:
2117
runs-on: ubuntu-latest
22-
23-
# Steps represent a sequence of tasks that will be executed as part of the job
2418
steps:
25-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2619
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
2722

28-
- name: Lint
23+
- name: Pylint
2924
uses: cclauss/GitHub-Action-for-pylint@master
3025
with:
3126
args: "pylint src/vcs/"
3227

28+
build:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
with:
33+
fetch-depth: 0
34+
3335
- name: Install dependencies
3436
run: sudo apt-get -y install appstream appstream-util desktop-file-utils gettext
3537

0 commit comments

Comments
 (0)