mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 09:54:03 +00:00
add job name and use if: always()
This commit is contained in:
parent
ce1585ed71
commit
c6e6964e24
1 changed files with 5 additions and 3 deletions
8
.github/workflows/validate.yml
vendored
8
.github/workflows/validate.yml
vendored
|
|
@ -2,17 +2,19 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
validate:
|
||||
name: Validate code
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check for todo0
|
||||
run: '! grep -r "todo0" --exclude-dir=workflows .'
|
||||
if: always()
|
||||
- name: Check for todo1
|
||||
run: '! grep -r "todo1" --exclude-dir=workflows .'
|
||||
if: always()
|
||||
- name: Check for todo2
|
||||
run: '! grep -r "todo2" --exclude-dir=workflows .'
|
||||
if: always()
|
||||
- name: Check for skip() in tests
|
||||
run: '! grep -r "skip(" --exclude-dir=workflows tests/'
|
||||
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue