Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
yavko committed Jan 17, 2023
2 parents 0a00daf + 061e2e8 commit 9c92cd0
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 92 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Rust Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
name: Install rust toolchain
with:
toolchain: nightly
override: true

- uses: Swatinem/rust-cache@v2
name: Add caching

- uses: actions-rs/cargo@v1
name: Build crate
with:
command: build
args: --verbose --all-features

34 changes: 34 additions & 0 deletions .github/workflows/check-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Check Docs

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
name: Install rust toolchain
with:
toolchain: nightly
override: true

- uses: Swatinem/rust-cache@v2
name: Add caching

- uses: actions-rs/cargo@v1
name: Check Documentation with Rustdoc
with:
command: doc
args: --verbose --all-features --no-deps

25 changes: 25 additions & 0 deletions .github/workflows/clippy-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Clippy Lint and Check
on: [pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
name: Install Rust Toolchain
with:
toolchain: nightly
components: clippy
override: true

- uses: Swatinem/rust-cache@v2
name: Add caching

- uses: actions-rs/clippy-check@v1
name: Lint and Check codebase with Clippy
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --verbose
84 changes: 0 additions & 84 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ opt-level = "z"
strip = true
lto = true

[dev-dependencies]
rusty-hook = "0.11.*"

[dependencies]
serde = {version = "1", features = ["derive"]}
serde_json = "1"
Expand Down
5 changes: 0 additions & 5 deletions rusty-hook.toml

This file was deleted.

0 comments on commit 9c92cd0

Please sign in to comment.