Skip to content

Commit 988f901

Browse files
committed
check sbom
1 parent 367c425 commit 988f901

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/scancode.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will build and test a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: comp check
5+
6+
on:
7+
push:
8+
9+
jobs:
10+
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Use HTTPS instead of SSH for Git cloning
15+
run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/
16+
- name: Checkout project
17+
uses: actions/checkout@v5
18+
- name: check size
19+
run: |
20+
sudo rm -rf \
21+
/usr/share/dotnet /usr/local/lib/android /opt/ghc \
22+
/usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \
23+
/usr/lib/jvm || true
24+
25+
sudo du /usr -h --max-depth 2 | sort -h
26+
27+
sudo du /opt -h --max-depth 2 | sort -h
28+
29+
docker image ls
30+
31+
df -h
32+
- name: Run GitHub Action for ORT
33+
uses: oss-review-toolkit/ort-ci-github-action@main
34+
with:
35+
run: 'cache-dependencies,analyzer,scanner,evaluator,advisor,reporter,upload-results'

0 commit comments

Comments
 (0)