Skip to content

Commit b9f05da

Browse files
committed
Switch to using linters from apt
1 parent bbfbb3d commit b9f05da

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [pull_request, workflow_dispatch]
66
jobs:
77
lint:
88
name: lint
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-26.04
1010

1111
defaults:
1212
run:
@@ -16,11 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818

19-
- name: Install linters
20-
run: sudo apt-get update && sudo apt-get install python3-pip --yes --no-install-recommends
21-
22-
- name: Setup ansible-lint and yamllint
23-
run: pip install ansible-lint yamllint
19+
- name: Install linter prequisites
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install ansible ansible-lint yamllint --yes --no-install-recommends
2423
2524
- name: Run yamllint
2625
run: yamllint .

0 commit comments

Comments
 (0)