1
0
Fork 0
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:
Samuel Štancl 2023-11-21 02:10:35 +01:00 committed by GitHub
parent ce1585ed71
commit c6e6964e24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()