Hotfix: Improved variable names in ollama-chatbot-fn #36
Workflow file for this run
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: Linter code check | |
on: | |
push: | |
branches: | |
- main | |
- stage | |
- develop | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: | |
- main | |
- stage | |
- develop | |
jobs: | |
define-dirs: | |
runs-on: ubuntu-latest | |
outputs: | |
dirs: ${{ steps.dirs.outputs.dirs }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Define Dirs | |
id: dirs | |
run: result=$(echo tasks/*/ | sed 's/\([^ ]*\)/"\1",/g') && result="${result%,}" && echo "dirs=[$result]" >> "$GITHUB_OUTPUT" | |
build: | |
runs-on: ubuntu-latest | |
needs: define-dirs | |
strategy: | |
matrix: | |
dirs: ${{ fromJSON(needs.define-dirs.outputs.dirs) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.9" | |
- name: Install mypy globally | |
run: | | |
pip install mypy | |
- name: Analysing templates with mypy | |
run: | | |
bash .github/workflows/linter-code-check.sh ${{matrix.dirs}} |