diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68dd122..2e257bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,17 +14,17 @@ jobs: python-version: [3.12] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: main - name: Set up JRE 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options java-version: '17' java-package: 'jre' - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -35,7 +35,7 @@ jobs: working-directory: main run: coverage run --branch -m pytest test -v -s --junitxml contract-test-reports/TEST-junit-jupiter.xml - name: Publish contract test report - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v4 if: always() with: report_paths: '**/contract-test-reports/TEST-*.xml' @@ -43,9 +43,9 @@ jobs: working-directory: main run: coverage html -d coverage-report - name: Upload coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: coverage-report + name: ${{ matrix.os}}-coverage-report path: main/coverage-report