From bbeb9717f23b6b956cbb593841bb3bf28c8bd465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gutowski?= Date: Sun, 16 Jun 2024 19:29:37 +0200 Subject: [PATCH] Update CI workflow configuration The updated configuration includes: - Bumped codecov/codecov-action and ShellCheck to the latest versions. - Updated the matrix strategy to run package tests in all supported Swift versions. --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a139f66..246846e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,24 +44,30 @@ jobs: with: scandir: './Scripts' ignore_paths: Templates - version: v0.9.0 + version: v0.10.0 env: SHELLCHECK_OPTS: -e SC1009 -e SC1072 -e SC1073 -e SC1090 -e SC1091 tests: name: Tests (Xcode ${{ matrix.xcode }}${{ matrix.upload_coverage && ', Upload Coverage Report' || '' }}) needs: [lint] - runs-on: macos-13 + runs-on: macos-${{ matrix.macos }} env: DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" strategy: matrix: include: - - xcode: '14.2' # Swift 5.7 + - macos: 13 + xcode: '14.2' # Swift 5.7 + upload_coverage: false + - macos: 14 + xcode: '14.3.1' # Swift 5.8 upload_coverage: false - - xcode: '14.3.1' # Swift 5.8 + - macos: 14 + xcode: '15.2' # Swift 5.9 upload_coverage: false - - xcode: '15.1' # Swift 5.9 + - macos: 14 + xcode: '15.4' # Swift 5.10 upload_coverage: true steps: @@ -79,7 +85,7 @@ jobs: - name: Upload Code Coverage Report if: ${{ matrix.upload_coverage }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} directory: ./.coverage/