Add default value for set env vars #59
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: ci | |
on: ['push', 'pull_request'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- name: Check pyproject.toml | |
run: | | |
versions=($(ls -1A .)) | |
for version in "${versions[@]}"; do | |
pushd "${version}" | |
poetry check | |
popd | |
done | |
working-directory: ./requirements | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master |