Skip to content

Update Rust crate chrono-tz to 0.9.0 #173

Update Rust crate chrono-tz to 0.9.0

Update Rust crate chrono-tz to 0.9.0 #173

Workflow file for this run

name: Testing with Rust
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test Rust
run: cargo test --verbose --all-features
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set cargo fmt output
run: echo "FMT_OUTPUT=$(cargo fmt --message-format short)" >> $GITHUB_ENV
- name: Check cargo fmt output
run: echo "${{ env.FMT_OUTPUT }}"; if [ -n "${{ env.FMT_OUTPUT }}" ]; then exit 1; fi
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}