Skip to content

Merge pull request #99 from Shopify/dependabot/cargo/serde-1.0.214 #143

Merge pull request #99 from Shopify/dependabot/cargo/serde-1.0.214

Merge pull request #99 from Shopify/dependabot/cargo/serde-1.0.214 #143

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Add rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Run cargo fmt
run: cargo fmt --check
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run clippy (tests)
run: cargo clippy --tests
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release