Skip to content

Commit

Permalink
damn we really have to do it like this huh
Browse files Browse the repository at this point in the history
  • Loading branch information
san7890 committed Dec 7, 2023
1 parent 257fd48 commit 5d5ddd7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
with:
path: ~/SpacemanDMM
key: ${{ runner.os }}-spacemandmm-${{ hashFiles('dependencies.sh') }}
restore-keys: |
${{ runner.os }}-spacemandmm-
- name: Restore Yarn cache
uses: actions/cache@v3
with:
Expand All @@ -53,13 +55,15 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cargo
key: ${{ runner.os }}-rust-${{ hashFiles('~/.cargo')}}
key: ${{ runner.os }}-rust-${{ hashFiles('tools/ci/install_ripgrep.sh')}}
restore-keys: |
${{ runner.os }}-rust-
- name: Install Tools
run: |
pip3 install setuptools
bash tools/ci/install_node.sh
bash tools/ci/install_spaceman_dmm.sh dreamchecker
cargo install ripgrep --features pcre2
bash tools/ci/install_ripgrep.sh
tools/bootstrap/python -c ''
- name: Give Linters A Go
id: linter-setup
Expand Down
7 changes: 7 additions & 0 deletions tools/ci/install_ripgrep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -euo pipefail

# we do not need to source dependencies.sh because rust is not required to run or compile the project - this is for CI only as of right now
RIPGREP_VERSION=14.0.3

cargo install ripgrep --features pcre2 --version $RIPGREP_VERSION

0 comments on commit 5d5ddd7

Please sign in to comment.