summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2021-01-11 15:29:50 -0800
committerGitHub <noreply@github.com>2021-01-11 15:29:50 -0800
commita92712acc573c206bbcd5adcc92d32b62f23df7e (patch)
treed0d93bfc2a3139539530087cfc951f50705b213a /.github
parent3a7755b3118a1b6d5e0143ec401024f43e2e1d77 (diff)
parent288c54c70a8b6a6682ae9ac8c0a5483c3968d433 (diff)
Merge pull request #3949 from jepler/pre-commit-translations
pre-commit: Add check for translations being up to date
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pre-commit.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 8caf56d26..af62072c8 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -15,6 +15,10 @@ jobs:
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