Skip to content

Merge pull request #227 from Shopify/05-18-skip_none_fields_when_seri… #446

Merge pull request #227 from Shopify/05-18-skip_none_fields_when_seri…

Merge pull request #227 from Shopify/05-18-skip_none_fields_when_seri… #446

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Run tests
run: cargo test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Build
run: cargo build --release