Skip to content

Merge pull request #7 from genaumann/retry #35

Merge pull request #7 from genaumann/retry

Merge pull request #7 from genaumann/retry #35

Workflow file for this run

---
name: Lint
on:
- push
jobs:
salt-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install python3-pip
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install salt-lint
run: |
sudo pip3 install salt-lint --break-system-packages
- name: Run salt-lint
run: |
salt-lint $(find . -name '*.sls')
rubocop:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- name: Install rubocop
run: |
sudo gem install rubocop
- name: Run rubocop
run: |
rubocop -d -P -S --enable-pending-cops