diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0aa3408..df426d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,4 @@ jobs: uses: ./.github/actions/install-deps - name: Check if package builds - run: | - uv build - echo Current version: $(git describe --tags --abbrev=0 | sed -e "s/^v//") + run: uv build diff --git a/.github/workflows/linting-and-testing.yaml b/.github/workflows/linting-and-testing.yaml index 8ac7634..bd3be76 100644 --- a/.github/workflows/linting-and-testing.yaml +++ b/.github/workflows/linting-and-testing.yaml @@ -6,9 +6,6 @@ on: - master pull_request: -env: - RUNS_ON: ubuntu-latest - jobs: pre-commit: name: Pre-commit @@ -32,13 +29,13 @@ jobs: path: ~/.cache/pre-commit/ key: > ${{ format('pre-commit-{0}-{1}-{2}', - env.RUNS_ON, + runner.os, matrix.python-version, hashFiles('.pre-commit-config.yaml') ) }} restore-keys: | - pre-commit-${{ env.RUNS_ON }}-${{ matrix.python-version }}- - pre-commit-${{ env.RUNS_ON }}- + pre-commit-${{ runner.os }}-${{ matrix.python-version }}- + pre-commit-${{ runner.os }}- - name: Run pre-commit on all files run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4be8dd4..1a06fdb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,9 +4,6 @@ on: release: types: [published] -env: - RUNS_ON: ubuntu-latest - jobs: publish: name: Publish @@ -25,5 +22,4 @@ jobs: env: TWINE_USERNAME: "__token__" TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} - run: | - uvx twine upload dist/* + run: uvx twine upload dist/*