diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8b7f404..73b8b52 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: name: Unit tests strategy: matrix: - python-version: [3.7] + python-version: ['3.10'] os: [macos-latest, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -39,9 +39,9 @@ jobs: with: python-version: 3.7 - name: set up node # we need node for for semantic release - uses: actions/setup-node@v2.1.2 + uses: actions/setup-node@v4 with: - node-version: 14.2.0 + node-version: 22.2.0 - name: install python dependencies run: | python -m pip install --upgrade pip @@ -53,8 +53,8 @@ jobs: - name: run semantic release id: new_release run: | - nextRelease="`npx semantic-release@^17.0.0 --dryRun | grep -oP 'Published release \K.*? ' || true`" - npx semantic-release@^17.0.0 + nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`" + npx semantic-release@^23.1.1 echo "::set-output name=tag::$nextRelease" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.releaserc.json b/.releaserc.json index 32f411c..6638545 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -2,9 +2,18 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - "@semantic-release/github", - ["@semantic-release/exec", { - "publishCmd": "bash deploy.sh ${nextRelease.version}" - }] + [ + "@semantic-release/github", + { + "successComment": false, + "failTitle": false + } + ], + [ + "@semantic-release/exec", + { + "publishCmd": "bash deploy.sh ${nextRelease.version}" + } + ] ] } diff --git a/dev-requirements.txt b/dev-requirements.txt index 34f47b3..9afe9a0 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,5 @@ pytest==4.6.9;python_version<'3.0' -pytest==6.2.3;python_version>='3.6' +pytest==6.2.5;python_version>='3.6' importlib-metadata==3.10.1;python_version>='3.6' importlib-metadata==2.0.0;python_version<'3.0' twine==1.13.0;python_version<'3.0'