File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 22on :
33 push :
44 branches :
5- - master
5+ - main
66 pull_request :
77
88env :
4444
4545 pub_date :
4646 name : Check publication date for placeholder
47- if : ${{ github.ref == 'refs/heads/master ' }}
47+ if : ${{ github.ref == 'refs/heads/main ' }}
4848
4949 runs-on : ubuntu-latest
5050 steps :
5656 - run : cargo test -p front_matter -- --include-ignored date_is_set
5757
5858 deploy :
59- if : ${{ github.ref == 'refs/heads/master ' }}
59+ if : ${{ github.ref == 'refs/heads/main ' }}
6060
6161 needs : [pub_date, build]
6262
Original file line number Diff line number Diff line change 1818 run : cargo install --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
1919
2020 - run : git fetch --depth 2
21- - run : git checkout origin/master
21+ - run : git checkout origin/main
2222 - name : Generate good snapshots
2323 run : INSTA_OUTPUT=none INSTA_UPDATE=always cargo test -p snapshot -- --include-ignored
24- - run : git checkout $GITHUB_SHA # merge of master +branch
24+ - run : git checkout $GITHUB_SHA # merge of main +branch
2525 - run : INSTA_OUTPUT=none INSTA_UPDATE=no cargo test -p snapshot -- --include-ignored
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ You can also run these tests locally for a faster feedback cycle:
5757
5858- Make sure you have [ cargo-insta] ( https://insta.rs/docs/quickstart/ ) installed.
5959
60- - Generate the good snapshots to compare against, usually based off the master branch:
60+ - Generate the good snapshots to compare against, usually based off the main branch:
6161 ``` sh
6262 cargo insta test -p snapshot --accept --include-ignored
6363 ```
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ <h4 class="mt4 mb3">RSS</h4>
3838 </ div >
3939 < div class ="attribution ">
4040 Maintained by the Rust Team. See a typo?
41- < a href ="https://github.com/rust-lang/blog.rust-lang.org{% if page %}/edit/master /content/{{ page.relative_path }}{% endif %} " target ="_blank " rel ="noopener "> Send a fix here</ a > !
41+ < a href ="https://github.com/rust-lang/blog.rust-lang.org{% if page %}/edit/main /content/{{ page.relative_path }}{% endif %} " target ="_blank " rel ="noopener "> Send a fix here</ a > !
4242 </ div >
4343 </ div >
4444</ footer >
You can’t perform that action at this time.
0 commit comments