From b7ef159815aaf747b6bc7a7981f7a5cfd27528fe Mon Sep 17 00:00:00 2001 From: Deepjyoti Barman Date: Tue, 24 Sep 2024 14:27:32 +0530 Subject: [PATCH] Add support for installing glibc before checkout for pre-commit hook workflow --- .github/workflows/pre-commit-hook-run.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-hook-run.yml b/.github/workflows/pre-commit-hook-run.yml index c29f839d..1b612fab 100644 --- a/.github/workflows/pre-commit-hook-run.yml +++ b/.github/workflows/pre-commit-hook-run.yml @@ -14,11 +14,15 @@ jobs: runs-on: ubuntu-latest container: rishabhpoddar/supertokens_python_driver_testing steps: + - name: Install required GLIBC + run: | + apt-get update && \ + apt-get install -y --no-install-recommends g++ make zlib1g-dev libc6 - uses: actions/checkout@v2 - name: Set up node uses: actions/setup-node@v1 with: - node-version: '16' + node-version: '12' - run: git init && git add --all && git -c user.name='test' -c user.email='test@example.com' commit -m 'init for pr action' - run: make dev-install && rm -rf src - run: ./hooks/pre-commit.sh