[Snyk] Upgrade dompurify from 3.1.2 to 3.1.3 #1130
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Only trigger when a PR is committed. | |
name: Linux Build Musl Static | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
build: | |
if: github.event.pull_request.merged | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.20' | |
- run: go version | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
sudo apt-get update | |
sudo apt-get install -y zip build-essential pkg-config libssl-dev | |
- name: Install Musl | |
run: | | |
wget http://www.musl-libc.org/releases/musl-1.1.23.tar.gz | |
tar -xvzf musl-1.1.23.tar.gz | |
cd musl-1.1.23 | |
./configure | |
sudo make install | |
cd .. | |
- name: Use Node.js v16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: npm install gui | |
run: | | |
cd gui/velociraptor/ | |
npm install | |
npm run build | |
cd ../../ | |
- name: Build Musl Binary | |
run: | | |
mkdir ./output/ | |
export PATH=$PATH:~/go/bin/:/usr/local/musl/bin | |
go run make.go -v UpdateDependentTools | |
go run make.go -v LinuxMusl | |
go run make.go -v LinuxMuslDebug | |
- name: StoreBinaries | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Binaries | |
path: output |