feat: test bcsc idp userinfo mapper #1368
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check code/commit conventions | |
on: push | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install asdf | |
uses: asdf-vm/actions/setup@v3 | |
- name: Cache tools | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/runner/.asdf | |
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }} | |
- name: Install required tools | |
run: | | |
cat .tool-versions | cut -f 1 -d ' ' | xargs -n 1 asdf plugin-add || true | |
asdf plugin-update --all | |
asdf install | |
asdf reshim | |
- name: Rerun Pre-Commit Hooks on CI | |
run: | | |
pip install -r requirements.txt | |
asdf reshim | |
pre-commit run --color=always --show-diff-on-failure --all-files | |
commitlint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v5 |