Skip to content

Commit

Permalink
update .github/workflows/check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
soleng-terraform[bot] authored Sep 23, 2024
1 parent 214fc91 commit 1af1327
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,22 @@ jobs:
with:
fetch-depth: 0 # Complete git history is required to generate the version from git tags.

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y yamllint
python -m pip install --upgrade pip
# pin tox to the current major version to avoid
# workflows breaking all at once when a new major version is released.
python -m pip install 'tox<5'
- name: Run linters
run: tox -e lint

- name: Lint yaml files
run: |
Expand Down

0 comments on commit 1af1327

Please sign in to comment.