Skip to content

chore: remove dotenv #221

chore: remove dotenv

chore: remove dotenv #221

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: restore build & cargo cache
uses: Swatinem/rust-cache@v1
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --locked
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy
- name: restore build & cargo cache
uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --locked -- -D warnings
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: restore build & cargo cache
uses: Swatinem/rust-cache@v1
- name: Build
uses: actions-rs/cargo@v1
with:
command: test