Skip to content

Commit 572d3ec

Browse files
committed
Add the cron job to check daily build
Signed-off-by: Jiyeong Seok <[email protected]>
1 parent 30b7b2d commit 572d3ec

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-daily.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: daily build with cron
2+
3+
on:
4+
schedule:
5+
- cron: '30 15 * * *'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
python-version: ["3.7", "3.8", "3.9", "3.10"]
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install .
25+
sudo npm install -g license-checker
26+
- name: Checkout example repository
27+
run: |
28+
mkdir test
29+
cd test
30+
git clone https://github.com/LGE-OSS/example
31+
cd example
32+
fosslight_scanner -p .

0 commit comments

Comments
 (0)