Skip to content

Removing use of deprecated methods from 'chrono' crate #25

Removing use of deprecated methods from 'chrono' crate

Removing use of deprecated methods from 'chrono' crate #25

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
paths-ignore:
- 'README.md'
pull_request:
branches: [ "main" ]
paths-ignore:
- 'README.md'
env:
CARGO_TERM_COLOR: always
jobs:
ci:
name: Pipeline
runs-on: ubuntu-latest
steps:
- name: Check-out
uses: actions/checkout@v3
- name: Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt, clippy
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: "Cargo clippy (features: +default)"
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: "Cargo clippy (features: -default +ts_chrono)"
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features ts_chrono -- -D warnings
- name: "Cargo clippy (features: -default +ts_time)"
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features ts_chrono -- -D warnings
- name: "Cargo test (features: +default)"
uses: actions-rs/cargo@v1
with:
command: test
- name: "Cargo test (features: -default +ts_chrono)"
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features ts_chrono
- name: "Cargo test (features: -default +ts_time)"
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features ts_time