Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Mar 27, 2024
1 parent 50adea2 commit fce333f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ on:
pull_request:

jobs:
lint:
name: Lint and Format
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Rust
run: rustup toolchain install stable --profile minimal --component clippy rustfmt --no-self-update

- name: Rust Cache
uses: Swatinem/rust-cache@v2

- run: cargo check
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Deploy Docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ jobs:
echo "PROJECT_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
echo "Version is ${{ env.PROJECT_VERSION }}"
# - name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# target: ${{ matrix.target }}
# override: true
# profile: minimal

- name: Rust
run: rustup toolchain install stable-${{ matrix.target }} --profile minimal --no-self-update

Expand Down Expand Up @@ -130,4 +122,3 @@ jobs:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
shell: bash
run: cargo publish

0 comments on commit fce333f

Please sign in to comment.