Skip to content

Commit

Permalink
CCM-6245: TFSec Scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesthompson26-nhs committed Aug 19, 2024
1 parent 3b72967 commit e794344
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
14 changes: 13 additions & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,17 @@ runs:
steps:
- name: Install dependencies and execute make config
shell: bash
run: |
run: |-
echo -n "
====================================================================\n
==== Starting setup for ${{ github.job }} ==== @ $(date) \n
====================================================================\n
"
scripts/setup/setup.sh
echo -n "
====================================================================\n
==== Setup done ${{ github.job }} ==== @ $(date) \n
====================================================================\n
"
12 changes: 1 addition & 11 deletions scripts/setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,14 @@ function main() {

function run-setup() {

git --version
echo -n "
====================================================================\n
==== Starting setup for ${{ github.job }} ==== @ $(date) \n
====================================================================\n
"
git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf --branch v0.14.0 -c advice.detachedHead=false
echo ". $HOME/.asdf/asdf.sh" >> "$HOME/.profile"
echo ". $HOME/.asdf/completions/asdf.bash" >> "$HOME/.profile"
echo "installed asdf version 0.14.0"
source $HOME/.profile
sudo apt install bundler -y
time make config
echo -n "
====================================================================\n
==== Setup done ${{ github.job }} ==== @ $(date) \n
====================================================================\n
"

check-setup-status
}

Expand Down

0 comments on commit e794344

Please sign in to comment.