From 2f0fdb3865c5a1a8062c4a21074319d4967c8f6f Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 20 Aug 2022 15:43:21 +0200 Subject: [PATCH] Apparently we can't have nice (caching) things Error: Invalid pattern '/home/runner/work/build-and-inspect-python-package/build-and-inspect-python-package/./action/requirements/tools.txt'. Relative pathing '.' and '..' is not allowed. --- CHANGELOG.md | 16 +++++++++------- action.yml | 2 -- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 215b58e..0f1eb1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,13 +12,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - *twine* now runs in `--strict` mode. -- All tools are now pinned and cached to improve performance and reliability. -- The action now uses `setup-python` itself to enable pinning and caching. - Currently, Python 3.10 is used. -- The tools are installed into a virtual environment. - That means you can re-use the global Python environment and do further checks. - - See for example how [*argon2-cffi-bindings*](https://github.com/hynek/argon2-cffi-bindings/blob/1bb072cdba857bc22c3fa1d976659279d1c08a23/.github/workflows/main.yml#L70-L79) uses it to check the wheels don't break a dependency. +- All tools are now pinned reliability (and hopefully caching in the future). +- The action now uses `setup-python` itself to enable pinning (and hopefully + caching in the future). Currently, Python 3.10 is used. +- The tools are installed into a virtual environment. That means you can re-use + the global Python environment and do further checks. + + See for example how + [*argon2-cffi-bindings*](https://github.com/hynek/argon2-cffi-bindings/blob/1bb072cdba857bc22c3fa1d976659279d1c08a23/.github/workflows/main.yml#L70-L79) + uses it to check the wheels don't break a dependency. ## [0.1](https://github.com/hynek/build-and-inspect-python-package/tree/v0.1) - 2022-08-20 diff --git a/action.yml b/action.yml index aecf1a6..cd5239b 100644 --- a/action.yml +++ b/action.yml @@ -18,8 +18,6 @@ runs: - uses: actions/setup-python@v4 with: python-version: "3.10" - cache: pip - cache-dependency-path: "**/tools.txt" - name: Create venv for tools run: python3.10 -m venv /tmp/baipp