Skip to content

Commit

Permalink
chore: Update linter workflow
Browse files Browse the repository at this point in the history
Update versions of everything
  • Loading branch information
luator committed Sep 19, 2023
1 parent 950da2b commit cbc39d3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on: [pull_request]

jobs:
mypy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Install
run: |
python3 -m pip install mypy types-PyYAML numpy==1.20.3
python3 -m pip install mypy types-PyYAML numpy==1.23.3
- name: Add matcher
run: |
echo "::add-matcher::.github/workflows/mypy-problem-matcher.json"
Expand All @@ -21,12 +21,12 @@ jobs:
python3 -m mypy .
flake8:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- name: Install
run: |
python3 -m pip install flake8
Expand All @@ -39,20 +39,20 @@ jobs:
black:
name: Python Formatting
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"
- uses: psf/black@stable

clang-format:
name: C++ Formatting
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- run: wget https://raw.githubusercontent.com/machines-in-motion/mpi_cmake_modules/master/scripts/run-clang-format
- run: wget https://raw.githubusercontent.com/machines-in-motion/mpi_cmake_modules/master/resources/_clang-format
- run: python ./run-clang-format -r .

0 comments on commit cbc39d3

Please sign in to comment.