From 5989ac286d5396899113cf4e503df86b41cf976c Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Tue, 17 Dec 2024 20:46:57 +0800 Subject: [PATCH] feat: upgrade swiftver and swiftos to newer versions to fix CI error --- .github/workflows/test.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5d84f2..12f511b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,20 +7,19 @@ jobs: strategy: matrix: swiftver: - - swift:5.4 + - swift:5.8 swiftos: - - xenial - - bionic - focal + - jammy container: ${{ format('{0}-{1}', matrix.swiftver, matrix.swiftos) }} runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v2 - + - name: Run tests with Thread Sanitizer run: swift test --sanitize=thread - + release: name: Release runs-on: ubuntu-latest @@ -28,13 +27,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - + - name: Setup Node.js uses: actions/setup-node@v2 - name: Setup run: npm install semantic-release - + - name: Release env: GH_TOKEN: ${{ secrets.GH_TOKEN }}