diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3e0b3c2d876..22edcc1ae33 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -474,16 +474,7 @@ jobs: run: docker run -v $PWD/:/github otp 'python3 --version' - name: Install Scancode via pip - run: docker run -v $PWD/:/github otp 'sudo apt install -y pip && pip install scancode-toolkit && export PATH="$HOME/.local/bin:$PATH" && scancode --version && /github/scripts/scan-code.escript scancode --file-or-dir "${{ needs.pack.outputs.added_files }}" --template-path /github/scripts/scan-code/template.txt' - - - name: Install Scancode via wget - run: docker run -v $PWD/:/github otp 'wget -P /github/ https://github.com/aboutcode-org/scancode-toolkit/releases/download/v32.2.1/scancode-toolkit-v32.2.1_py3.10-linux.tar.gz && tar -xvzf /github/scancode-toolkit-v32.2.1_py3.10-linux.tar.gz /github/scancode-toolkit-v32.2.1 && /github/scancode-toolkit-v32.2.1/configure && /github/scancode-toolkit-v32.2.1/scancode --version && alias scancode=/github/scancode-toolkit-v32.2.1/scancode && /github/scripts/scan-code.escript scancode --file-or-dir "${{ needs.pack.outputs.added_files }}" --template-path /github/scripts/scan-code/template.txt' - - - name: Download scancode locally and Run in docker - run: | - wget https://github.com/aboutcode-org/scancode-toolkit/releases/download/v32.2.1/scancode-toolkit-v32.2.1_py3.10-linux.tar.gz - tar -xvzf /github/scancode-toolkit-v32.2.1_py3.10-linux.tar.gz scancode-toolkit-v32.2.1 - docker run -v $PWD/:/github otp '/github/scancode-toolkit-v32.2.1/configure && /github/scancode-toolkit-v32.2.1/scancode --version && alias scancode=/github/scancode-toolkit-v32.2.1/scancode && /github/scripts/scan-code.escript scancode --file-or-dir "${{ needs.pack.outputs.added_files }}" --template-path /github/scripts/scan-code/template.txt' + run: docker run -v $PWD/:/github otp 'sudo apt install -y pip && pip install scancode-toolkit && export PATH="$HOME/.local/bin:$PATH" && scancode --version && /github/scripts/scan-code.escript --file-or-dir "${{ needs.pack.outputs.added_files }}" --template-path /github/scripts/scan-code/template.txt' test: name: Test Erlang/OTP