Skip to content

only specify major version of dependencies and enable daily dependabo… #187

only specify major version of dependencies and enable daily dependabo…

only specify major version of dependencies and enable daily dependabo… #187

name: Lint and Check
on:
push:
paths-ignore:
- '.gitignore'
- '.dockerignore'
- '.env.dist'
- '.github/dependabot.yml'
- '.github/workflows/release.yml'
- 'Dockerfile'
- 'LICENSE'
- 'README.md'
pull_request:
paths-ignore:
- '.gitignore'
- '.dockerignore'
- '.env.dist'
- '.github/dependabot.yml'
- '.github/workflows/release.yml'
- 'Dockerfile'
- 'LICENSE'
- 'README.md'
jobs:
check:
#strategy:
#matrix:
#include:
#- os: ubuntu-latest
#- os: macos-latest
#- os: windows-latest
#runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt,clippy
- name: fmt
run: cargo fmt --check
- name: clippy
run: cargo clippy --no-deps --all-features
- name: check
run: cargo check