diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb65d3c..077806e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,20 +59,20 @@ jobs: uses: pypa/gh-action-pypi-publish@v1.8.6 with: user: __token__ - password: {{ "${{ secrets.PYPI_TOKEN }}" }} + password: "${{ secrets.PYPI_TOKEN }}" - name: Publish package on TestPyPI if: "! steps.check-version.outputs.tag" uses: pypa/gh-action-pypi-publish@v1.8.6 with: user: __token__ - password: {{ "${{ secrets.TEST_PYPI_TOKEN }}" }} + password: "${{ secrets.TEST_PYPI_TOKEN }}" repository_url: https://test.pypi.org/legacy/ - name: Publish the release notes uses: release-drafter/release-drafter@v5.23.0 with: - publish: {{ "${{ steps.check-version.outputs.tag != '' }}" }} - tag: {{ "${{ steps.check-version.outputs.tag }}" }} + publish: "${{ steps.check-version.outputs.tag != '' }}" + tag: "${{ steps.check-version.outputs.tag }}" env: - GITHUB_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }} + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fb975c5..4ba941d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,8 +6,8 @@ on: jobs: tests: - name: ${{"{{"}} matrix.session {{"}}"}} ${{"{{"}} matrix.python {{"}}"}} / ${{"{{"}} matrix.os {{"}}"}} - runs-on: ${{"{{"}} matrix.os {{"}}"}} + name: ${{ matrix.session }} ${{matrix.python }} / ${{ matrix.os }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: @@ -23,7 +23,7 @@ jobs: # - { python: "3.10", os: "ubuntu-latest", session: "docs-build" } env: - NOXSESSION: ${{"{{"}} matrix.session {{"}}"}} + NOXSESSION: ${{ matrix.session }} FORCE_COLOR: "1" PRE_COMMIT_COLOR: "always" @@ -31,10 +31,10 @@ jobs: - name: Check out the repository uses: actions/checkout@v4 - - name: Set up Python ${{"{{"}} matrix.python {{"}}"}} + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v4.6.1 with: - python-version: ${{"{{"}} matrix.python {{"}}"}} + python-version: ${{ matrix.python }} - name: Upgrade pip run: | @@ -81,13 +81,13 @@ jobs: if: matrix.session == 'pre-commit' with: path: ~/.cache/pre-commit - key: {{ "${{ steps.pre-commit-cache.outputs.result }}-${{ hashFiles('.pre-commit-config.yaml') }}" }} + key: ${{ steps.pre-commit-cache.outputs.result }}-${{ hashFiles('.pre-commit-config.yaml') }} restore-keys: | - {{ "${{ steps.pre-commit-cache.outputs.result }}-" }} + ${{ steps.pre-commit-cache.outputs.result }} - name: Run Nox run: | - nox --python=${{"{{"}} matrix.python {{"}}"}} + nox --python=${{ matrix.python }} - name: Upload coverage data if: always() && matrix.session == 'tests'