File tree Expand file tree Collapse file tree 7 files changed +72
-66
lines changed
Expand file tree Collapse file tree 7 files changed +72
-66
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : docs
1+ name : Docs
22
33on :
44 workflow_dispatch :
88 pull_request :
99 paths :
1010 - ' docs/**'
11+
1112jobs :
1213
1314 build_docs :
@@ -23,24 +24,27 @@ jobs:
2324 # SETUP
2425 # ###############################################################
2526 - name : Checkout repo
26- uses : actions/checkout@v4
27+ uses : actions/checkout@v5
2728 with :
2829 fetch-depth : 0
2930
3031 # ###############################################################
3132 # CONFIG
3233 # ###############################################################
33- - uses : prefix-dev/setup-pixi@v0.6.0
34- with :
35- pixi-version : v0.20.1
36- - run : |
37- pixi run docs-build -d docs_build
34+ - name : Setup pixi
35+ uses : prefix-dev/setup-pixi@v0.9.0
36+
37+ # ###############################################################
38+ # BUILD
39+ # ###############################################################
40+ - name : Build docs
41+ run : pixi run docs-build -d docs_build
3842
3943 # ###############################################################
40- # upload to github pages
44+ # UPLOAD
4145 # ###############################################################
4246 - name : Upload Pages artifact
43- uses : actions/upload-pages-artifact@v3
47+ uses : actions/upload-pages-artifact@v4
4448 with :
4549 path : docs_build
4650
Original file line number Diff line number Diff line change 1- name : build recipes
1+ name : Build Recipes
2+
23on :
34 push :
45 branches :
1011 - " recipes/**"
1112
1213jobs :
13- lint_recipes :
14- runs-on : ubuntu-latest
15- steps :
16- - name : Checkout repo
17- uses : actions/checkout@v4
18- with :
19- fetch-depth : 0
20- ref : ${{ github.sha }}
21-
22- - name : Fetch main branch
23- run : |
24- git fetch origin main
25-
26- - name : Install micromamba
27- uses : mamba-org/setup-micromamba@v1
28- with :
29- micromamba-version : " 1.5.8-0"
30- environment-file : ci_env.yml
31- environment-name : ci
32- init-shell : bash
33- cache-environment : false
34- post-cleanup : " all"
35-
36- - name : Lint recipes
37- shell : bash -el {0}
38- run : |
39- set -e
40-
41- if [ "${{ github.event_name }}" = "pull_request" ]; then
42- BASE_REF="origin/main"
43- HEAD_REF="HEAD"
44- else
45- BASE_REF="HEAD~1"
46- HEAD_REF="HEAD"
47- fi
48-
49- echo "Comparing changes between $BASE_REF and $HEAD_REF"
50- python -m emci build lint $BASE_REF $HEAD_REF
5114
5215 build_recipes :
5316 runs-on : ubuntu-latest
6225 # SETUP
6326 # ###############################################################
6427 - name : Checkout repo
65- uses : actions/checkout@v4
28+ uses : actions/checkout@v5
6629 with :
6730 fetch-depth : 0
6831
9962 # MAMBA
10063 # ###############################################################
10164 - name : Install micromamba
102- uses : mamba-org/setup-micromamba@v1
65+ uses : mamba-org/setup-micromamba@v2
10366 with :
104- micromamba-version : " 1.5.8-0"
10567 environment-file : ci_env.yml
106- environment-name : ci
10768 init-shell : bash
10869 cache-environment : false
10970 post-cleanup : " all"
Original file line number Diff line number Diff line change 1- name : " Copilot Setup Steps "
1+ name : Copilot Setup
22
33# Automatically run the setup steps when they are changed to allow for easy validation, and
44# allow manual testing through the repository's "Actions" tab
2727 steps :
2828
2929 - name : Checkout repo
30- uses : actions/checkout@v4
30+ uses : actions/checkout@v5
3131 with :
3232 fetch-depth : 0
33- - uses : prefix-dev/setup-pixi@v0.9.0
33+ - uses : prefix-dev/setup-pixi@v0.9.0
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout repo
16- uses : actions/checkout@v4
16+ uses : actions/checkout@v5
1717
1818 - name : Install micromamba
1919 uses : mamba-org/setup-micromamba@v2
Original file line number Diff line number Diff line change 1+ name : Lint Recipes
2+
3+ on :
4+ push :
5+ branches :
6+ - " main"
7+ paths :
8+ - " recipes/**"
9+ pull_request :
10+ paths :
11+ - " recipes/**"
12+
13+ jobs :
14+ lint_recipes :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repo
18+ uses : actions/checkout@v5
19+ with :
20+ fetch-depth : 0
21+ ref : ${{ github.sha }}
22+
23+ - name : Fetch main branch
24+ run : git fetch origin main
25+
26+ - name : Install micromamba
27+ uses : mamba-org/setup-micromamba@v2
28+ with :
29+ environment-file : ci_env.yml
30+ init-shell : bash
31+ post-cleanup : " all"
32+
33+ - name : Lint recipes
34+ shell : bash -el {0}
35+ run : |
36+ set -e
37+
38+ if [ "${{ github.event_name }}" = "pull_request" ]; then
39+ BASE_REF="origin/main"
40+ HEAD_REF="HEAD"
41+ else
42+ BASE_REF="HEAD~1"
43+ HEAD_REF="HEAD"
44+ fi
45+
46+ echo "Comparing changes between $BASE_REF and $HEAD_REF"
47+ python -m emci build lint $BASE_REF $HEAD_REF
Original file line number Diff line number Diff line change 66 - cron : ' 0 0 * * *'
77
88jobs :
9+
910 update_versions :
1011 strategy :
1112 matrix :
1213 branch : [main]
1314
14-
1515 if : (github.event_name == 'schedule' && github.repository == 'emscripten-forge/recipes') || (github.event_name != 'schedule')
1616 runs-on : [ubuntu-latest]
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v5
1919 with :
2020 ref : main
2121
2222 - name : Install micromamba
23- uses : mamba-org/setup-micromamba@v1
23+ uses : mamba-org/setup-micromamba@v2
2424 with :
2525 environment-file : ci_env.yml
2626
2727 - name : Determine new package version and open/merge PRs
2828 shell : bash -l -eo pipefail {0}
29- run : python -m emci bot bump-recipes-versions ${{ matrix.branch }}
29+ run : python -m emci bot bump-recipes-versions ${{ matrix.branch }}
3030 env :
3131 GITHUB_TOKEN : ${{ secrets.BOT_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments