Skip to content

Add missing Content-Type header #104

Add missing Content-Type header

Add missing Content-Type header #104

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
- name: Check formatting
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Run clippy
run: cargo clippy --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set rust version
run: rustup override set 1.83
- name: Run tests
run: cargo +1.83 test --verbose
- name: Run tests with default features disabled
run: cargo +1.83 test --no-default-features --verbose
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set rust version
run: rustup override set 1.83
- name: Build
run: cargo +1.83 build --verbose