From 5b961ebebc626ff2bb27eb13b96d81f9178f871f Mon Sep 17 00:00:00 2001 From: Sebastian Bank Date: Wed, 28 Feb 2024 16:16:29 +0100 Subject: [PATCH] update github action versions https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. --- .github/workflows/build.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 269a7967d0..efa348733a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -44,7 +44,7 @@ jobs: os: ubuntu-latest steps: - name: Checkout source repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Apt install system dependencies (linux unless -skip-exe) if: ${{ startsWith(matrix.name, 'linux-') && !contains(matrix.name, '-skip-exe') }} run: | @@ -88,7 +88,7 @@ jobs: echo "::notice::Choco installed ${DOT_VERSION#dot - }" shell: bash - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Pip install dependencies @@ -108,7 +108,9 @@ jobs: - name: Run tests with --skip-exe (always included) run: python run-tests.py --skip-exe --cov-append - name: Upload test coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Check test coverage run: | echo "::group::Run coverage report --fail-under=100 --show-missing --skip-covered" @@ -170,7 +172,7 @@ jobs: [ $FAILED -eq 0 ] || echo "::warning::pytype failed with exit code $FAILED" shell: bash - name: Upload ${{ matrix.name }} artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.name }} path: |