From 264c4e1198a19d42878d93f86331c92e5bc7614e Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Wed, 2 Oct 2024 15:05:30 -0500 Subject: [PATCH 1/2] lint.yml -> matrix python version --- .github/workflows/lint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 602115a0..b5ae54de 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,12 +3,15 @@ name: pylint on: [push, pull_request] jobs: lint: + strategy: + matrix: + python-version: [ "3.10" ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup with: - python-version: 3.10 + python-version: ${{ matrix.python-version }} - name: lint run: pylint --rcfile=.pylintrc --fail-under=9.5 src/build123d From 6007fe3502bd775403f6fb369780254161e11540 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Wed, 2 Oct 2024 15:11:04 -0500 Subject: [PATCH 2/2] Update coverage.yml -> newer actions versions --- .github/workflows/coverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0f64d17d..ca7272b0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -5,9 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies @@ -15,5 +15,5 @@ jobs: - name: Run tests and collect coverage run: pytest --cov=build123d - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4