Skip to content

Commit cc06887

Browse files
committed
Updated workflow gh-pages (master -> main)
1 parent f83b2f8 commit cc06887

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.cargo/config.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[build]
2+
rustflags = [
3+
"-Dunsafe_code",
4+
"-Dwarnings",
5+
"-Wclippy::all",
6+
"-Wclippy::pedantic",
7+
# Disable overly pedantic lints
8+
"-Aclippy::must_use_candidate",
9+
"-Aclippy::missing_errors_doc",
10+
"-Aclippy::missing_panics_doc",
11+
"-Aclippy::module_name_repetitions",
12+
"-Aclippy::uninlined_format_args",
13+
"-Aclippy::doc_markdown",
14+
"-Aclippy::default_trait_access",
15+
"-Aclippy::too_many_lines",
16+
# Enable specific nursery lints
17+
"-Wclippy::suboptimal_flops",
18+
"-Wclippy::imprecise_flops",
19+
]

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Publish documentation
2525
- name: Publish documentation
2626
uses: peaceiris/actions-gh-pages@v3
27-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
27+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2828
with:
2929
publish_branch: gh-pages
3030
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)