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 2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
8
8
env :
44
44
45
45
pub_date :
46
46
name : Check publication date for placeholder
47
- if : ${{ github.ref == 'refs/heads/master ' }}
47
+ if : ${{ github.ref == 'refs/heads/main ' }}
48
48
49
49
runs-on : ubuntu-latest
50
50
steps :
56
56
- run : cargo test -p front_matter -- --include-ignored date_is_set
57
57
58
58
deploy :
59
- if : ${{ github.ref == 'refs/heads/master ' }}
59
+ if : ${{ github.ref == 'refs/heads/main ' }}
60
60
61
61
needs : [pub_date, build]
62
62
Original file line number Diff line number Diff line change 18
18
run : cargo install --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
19
19
20
20
- run : git fetch --depth 2
21
- - run : git checkout origin/master
21
+ - run : git checkout origin/main
22
22
- name : Generate good snapshots
23
23
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
25
25
- 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:
57
57
58
58
- Make sure you have [ cargo-insta] ( https://insta.rs/docs/quickstart/ ) installed.
59
59
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:
61
61
``` sh
62
62
cargo insta test -p snapshot --accept --include-ignored
63
63
```
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ <h4 class="mt4 mb3">RSS</h4>
38
38
</ div >
39
39
< div class ="attribution ">
40
40
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 > !
42
42
</ div >
43
43
</ div >
44
44
</ footer >
You can’t perform that action at this time.
0 commit comments