Skip to content

Commit

Permalink
Update dependencies and workflows (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
yozhgoor authored Jul 9, 2024
1 parent fd84dec commit 220f6d6
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 119 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Sanity

on:
schedule:
- cron: 0 0 1 * *
workflow_dispatch:

jobs:
sanity:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v3

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: rustup update
run: rustup update

- name: cargo check
run: cargo check --all-features

- name: cargo build
run: cargo build --all-features

- name: cargo test
run: cargo test --all-features

- name: cargo fmt
run: cargo fmt --all --check

- name: cargo clippy
run: cargo clippy --tests --all-features -- -D warnings

- name: install cargo-outdated
run: cargo install cargo-outdated

- name: cargo-outdated
run: cargo outdated --exit-code 1
39 changes: 0 additions & 39 deletions .github/workflows/update.yml

This file was deleted.

Loading

0 comments on commit 220f6d6

Please sign in to comment.