summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorEnrique Casado <ecasado@bhdyn.com>2021-02-05 11:43:43 +0100
committerEnrique Casado <ecasado@bhdyn.com>2021-02-05 11:43:43 +0100
commit53f0bb3601fa5bcbb5e7a93306b80ab2acc78ff2 (patch)
tree94fb209199052595a7e9ebc04db7211f835468ce /.github/workflows/pre-commit.yml
parentbff40fc1c9f3d7b0738185b17851a3ed67bba2d2 (diff)
parent984f1a1af5b732062439ea41e7718f16309ec0b5 (diff)
Merge remote-tracking branch 'origin/master' into main
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index eac9bfe09..af62072c8 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -11,10 +11,14 @@ on:
jobs:
pre-commit:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
+ - name: Install deps
+ run: sudo apt-get update && sudo apt-get install -y gettext
+ - name: Populate selected submodules
+ run: git submodule update --init extmod/ulab
- name: set PY
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
- uses: actions/cache@v1