diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-12-12 13:27:38 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2021-02-25 20:22:30 +0100 |
commit | 4ee69f2e4117d93069d91b76286f90344e201130 (patch) | |
tree | 7be461d32b4b3cf99aaaeb7d2d156be199707182 /.github/workflows/pre-commit.yml | |
parent | Spell freestyle-hid consistently in the dependencies list. (diff) | |
download | glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.tar glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.tar.gz glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.tar.bz2 glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.tar.lz glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.tar.xz glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.tar.zst glucometerutils-4ee69f2e4117d93069d91b76286f90344e201130.zip |
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r-- | .github/workflows/pre-commit.yml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9663103..e23c5b0 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,12 +13,6 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - - name: set PY - run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" - - uses: actions/cache@v1 - with: - path: ~/.cache/pre-commit - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - - uses: pre-commit/action@v1.1.0 + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: pre-commit/action@v2.0.0 |