From b1b8d5e3df8f7cdb3120b3e806832a3a97c17cee Mon Sep 17 00:00:00 2001 From: Jan Philipp Thiele Date: Mon, 25 Nov 2024 14:44:03 +0100 Subject: [PATCH] [pre-commit] add CI workflow file --- .github/workflows/pre-commit.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 00000000..eac2920e --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,21 @@ +name: pre-commit + +on: + pull_request: + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: 1.11 + - run: | + julia --project=@runic -e ' + using Pkg + Pkg.add("Runic")' + env: + PYTHON: "" + - uses: actions/setup-python@v5 + - uses: pre-commit/action@v3.0.1