File tree Expand file tree Collapse file tree 7 files changed +234
-177
lines changed Expand file tree Collapse file tree 7 files changed +234
-177
lines changed Original file line number Diff line number Diff line change 1+ files :
2+ - README.md
3+ dirs :
4+ - ./
5+ useGitIgnore : true
Original file line number Diff line number Diff line change 22name : C++ CMake Test
33
44on :
5- # push:
6- # branches:
7- # - main
8- # paths:
9- # - 'cpp-algorithm/**'
10- # schedule:
11- # - cron: '0 0 * * *'
5+ # at 08:00 on day-of-month 1
6+ schedule :
7+ # prettier-ignore
8+ - cron : ' 0 8 1 * *'
129 workflow_dispatch :
1310
1411env :
1512 BUILD_TYPE : Release
1613
1714jobs :
15+ check-links :
16+ uses : ./.github/workflows/link-check.yml
17+
1818 build :
1919 runs-on : ubuntu-latest
2020
2727
2828 - name : Install dependencies
2929 run : |
30- sudo apt-get update
3130 sudo apt install -y ninja-build
3231
3332 - name : Setup vcpkg
Original file line number Diff line number Diff line change 22name : Go Test
33
44on :
5- # push:
6- # branches:
7- # - main
8- # paths:
9- # - 'go-algorithm/**'
10- # schedule:
11- # - cron: '0 0 * * *'
5+ # at 08:00 on day-of-month 1
6+ schedule :
7+ # prettier-ignore
8+ - cron : ' 0 8 1 * *'
129 workflow_dispatch :
1310
1411jobs :
12+ check-links :
13+ uses : ./.github/workflows/link-check.yml
14+
1515 build :
1616 runs-on : ubuntu-latest
1717
2323 with :
2424 # prettier-ignore
2525 go-version : ' 1.22'
26+ cache : true
27+ cache-dependency-path : ' **/go.sum'
2628
2729 - name : Download dependencies
2830 working-directory : ${{github.workspace}}/go-algorithm
Original file line number Diff line number Diff line change 22name : Java Gradle Test
33
44on :
5- # push:
6- # branches:
7- # - main
8- # paths:
9- # - 'java-algorithm/**'
10- # schedule:
11- # - cron: '0 0 * * *'
5+ # at 08:00 on day-of-month 1
6+ schedule :
7+ # prettier-ignore
8+ - cron : ' 0 8 1 * *'
129 workflow_dispatch :
1310
1411jobs :
12+ check-links :
13+ uses : ./.github/workflows/link-check.yml
14+
1515 build :
1616 runs-on : ubuntu-latest
1717
2626 java-version : ' 21'
2727
2828 - name : Setup Gradle
29- uses : gradle/gradle-build-action @v3
29+ uses : gradle/actions/setup-gradle @v3
3030
3131 - name : Test
3232 working-directory : ${{github.workspace}}/java-algorithm
Original file line number Diff line number Diff line change 1+ name : Markdown Link Check
2+
3+ on :
4+ # every monday at 08:00
5+ schedule :
6+ # prettier-ignore
7+ - cron : ' 0 8 * * 1'
8+ workflow_call :
9+ workflow_dispatch :
10+
11+ jobs :
12+ check-links :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : umbrelladocs/action-linkspector@v1
17+ with :
18+ fail_on_error : true
19+ # prettier-ignore
20+ config_file : ' .config/linkspector.yml'
Original file line number Diff line number Diff line change 22name : Python Poetry Test
33
44on :
5- # push:
6- # branches:
7- # - main
8- # paths:
9- # - 'python-algorithm/**'
10- # schedule:
11- # - cron: '0 0 * * *'
5+ # at 08:00 on day-of-month 1
6+ schedule :
7+ # prettier-ignore
8+ - cron : ' 0 8 1 * *'
129 workflow_dispatch :
1310
1411jobs :
12+ check-links :
13+ uses : ./.github/workflows/link-check.yml
14+
1515 build :
1616 runs-on : ubuntu-latest
1717
2727 - name : Install dependencies
2828 working-directory : ${{github.workspace}}/python-algorithm
2929 run : |
30- python -m pip install --upgrade pip
3130 pip install poetry
3231 poetry install --with test
3332
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments