Skip to content

Commit

Permalink
ci: change the order of lint jobs as lint_shell is more likely to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik66 authored and aafeijoo-suse committed Aug 1, 2023
1 parent d55fa82 commit 83eccc7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@ on:
branches: [ master ]

jobs:
lint-c:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: install tools
run: sudo apt-get install astyle

- name: indent
run: make indent-c

- name: check formatting
run: git diff --exit-code

lint-shell:
runs-on: ubuntu-latest

Expand All @@ -36,3 +21,18 @@ jobs:
with:
sh_checker_shellcheck_disable: false
sh_checker_comment: true

lint-c:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: install tools
run: sudo apt-get install astyle

- name: indent
run: make indent-c

- name: check formatting
run: git diff --exit-code

0 comments on commit 83eccc7

Please sign in to comment.