Skip to content

Commit

Permalink
spins it out into another file
Browse files Browse the repository at this point in the history
  • Loading branch information
san7890 committed Dec 7, 2023
1 parent 5d5ddd7 commit 1e5dbb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cargo
key: ${{ runner.os }}-rust-${{ hashFiles('tools/ci/install_ripgrep.sh')}}
key: ${{ runner.os }}-rust-${{ hashFiles('tools/ci/ci_dependencies.sh')}}
restore-keys: |
${{ runner.os }}-rust-
- name: Install Tools
Expand Down
6 changes: 6 additions & 0 deletions tools/ci/ci_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

#Project dependencies file
#Contains versions of programs that we might need to install for CI purposes - do not add anything here that is REQUIRED to run the project, this is just for CI.

export RIPGREP_VERSION=14.0.3
3 changes: 1 addition & 2 deletions tools/ci/install_ripgrep.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/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
source tools/ci/dependencies.sh

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

0 comments on commit 1e5dbb6

Please sign in to comment.