summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-12-12 13:25:57 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-12-12 13:25:57 +0100
commit440f96ee2633c7dc5bc841af1e06fa0636c1523c (patch)
treebbf9557e39426dbbf98448d371099b752f0413bd /.github
parentAdd missing pre-commit action configuration. (diff)
downloadfreestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.tar
freestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.tar.gz
freestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.tar.bz2
freestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.tar.lz
freestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.tar.xz
freestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.tar.zst
freestyle-hid-440f96ee2633c7dc5bc841af1e06fa0636c1523c.zip
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pre-commit.yml12
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