github: Switch to ubuntu-latest runner #308
Workflow file for this run
This file contains hidden or 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: Lint | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rockylinux:${{ matrix.rocky-release }} | |
| strategy: | |
| matrix: | |
| rocky-release: ["8", "9", "10"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Python | |
| run: | | |
| dnf install -y python3 python3-pip | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip3 install -r requirements.txt | |
| pip3 install -r test_requirements.txt | |
| - name: Analysing any changed code with pylint | |
| run: | | |
| find . -type f -name '*.py' | xargs -r pylint --max-line-length=120 |