This commit is contained in:
parent
0347379284
commit
f37283d24b
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -18,4 +18,10 @@ jobs:
|
|||
override: true
|
||||
- uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
command: build
|
||||
args: --release
|
||||
- uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: true
|
||||
command: build
|
||||
args: --release --target x86_64-unknown-freebsd
|
||||
|
|
48
.github/workflows/clippy.yml
vendored
48
.github/workflows/clippy.yml
vendored
|
@ -1,24 +1,24 @@
|
|||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
name: clippy
|
||||
|
||||
jobs:
|
||||
clippy:
|
||||
name: clippy
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: https://github.com/actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
|
||||
#on:
|
||||
# push:
|
||||
# branches: [master]
|
||||
# pull_request:
|
||||
#
|
||||
#name: clippy
|
||||
#
|
||||
#jobs:
|
||||
# clippy:
|
||||
# name: clippy
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: https://github.com/actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
# - run: rustup component add clippy
|
||||
# - uses: https://github.com/actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: clippy
|
||||
# args: -- -D warnings
|
||||
#
|
||||
|
|
34
.github/workflows/codespell.yml
vendored
34
.github/workflows/codespell.yml
vendored
|
@ -1,17 +1,17 @@
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
name: codespell
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: https://github.com/codespell-project/actions-codespell@master
|
||||
with:
|
||||
check_filenames: true
|
||||
ignore_words_list: "crate,ser,inout"
|
||||
#
|
||||
#on:
|
||||
# push:
|
||||
# branches: [master]
|
||||
# pull_request:
|
||||
#
|
||||
#name: codespell
|
||||
#
|
||||
#jobs:
|
||||
# codespell:
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: https://github.com/codespell-project/actions-codespell@master
|
||||
# with:
|
||||
# check_filenames: true
|
||||
# ignore_words_list: "crate,ser,inout"
|
||||
|
|
46
.github/workflows/rustfmt.yml
vendored
46
.github/workflows/rustfmt.yml
vendored
|
@ -1,23 +1,23 @@
|
|||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
name: rustfmt
|
||||
|
||||
jobs:
|
||||
fmt:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: https://github.com/actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add rustfmt
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
#on:
|
||||
# push:
|
||||
# branches: [master]
|
||||
# pull_request:
|
||||
#
|
||||
#name: rustfmt
|
||||
#
|
||||
#jobs:
|
||||
# fmt:
|
||||
# name: Rustfmt
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: https://github.com/actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
# - run: rustup component add rustfmt
|
||||
# - uses: https://github.com/actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: fmt
|
||||
# args: --all -- --check
|
||||
|
|
Loading…
Reference in a new issue