File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 components : clippy, rustfmt
3636 - name : Build
3737 run : cargo check
38+ - name : Lint
39+ run : cargo clippy --all-targets --all-features -- -D warnings
3840 - name : Test
3941 run : |
4042 # rust coverage issue
@@ -47,14 +49,14 @@ jobs:
4749 echo 'merge_derives = true' >> .rustfmt.toml
4850 echo 'use_small_heuristics = "Default"' >> .rustfmt.toml
4951 cargo fmt
50- cargo tarpaulin --out Lcov
52+ cargo tarpaulin --out Lcov Stdout
5153 - name : Upload to codecov.io
5254 uses : codecov/codecov-action@v5
5355 with :
5456 token : ${{ secrets.CODECOV_TOKEN }}
5557 fail_ci_if_error : true
5658 files : lcov.info
57- if : github.ref_name == 'main'
59+ if : github.ref == 'refs/heads/ main'
5860
5961 # publish
6062 changepacks :
7577 with :
7678 publish : true
7779 env :
78- CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
80+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments