From 7b3f4dca9f91baa5b26466601ac922532368efb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Kl=C3=B6pfel?= Date: Fri, 15 Mar 2024 14:35:34 +0100 Subject: [PATCH] Updated external actions --- .github/workflows/publish.yml | 6 +++--- .github/workflows/tests.yml | 14 ++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 51da8b9..0918146 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,13 +14,13 @@ jobs: permissions: id-token: write # IMPORTANT: mandatory for trusted publishing steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '12' - name: Install dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7c6e32f..3d087f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,9 +13,9 @@ jobs: python-version: [3.8, 3.9] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -31,19 +31,20 @@ jobs: run: coverage xml if: ${{ success() }} - name: Upload coverage report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: coverage.xml flags: unittests + token: ${{ secrets.CODECOV_TOKEN }} if: ${{ success() }} js-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '12' - name: Install dependencies @@ -51,8 +52,9 @@ jobs: - name: Run tests run: npm run test:coverage - name: Upload coverage report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: ./coverage/cobertura-coverage.xml flags: unittests + token: ${{ secrets.CODECOV_TOKEN }} if: ${{ success() }}