Skip to content

Merge pull request #1982 from rust-lang/remo/omkxsnwluvuz #2023

Merge pull request #1982 from rust-lang/remo/omkxsnwluvuz

Merge pull request #1982 from rust-lang/remo/omkxsnwluvuz #2023

Workflow file for this run

name: CI
on: [push, pull_request]
env:
RUST_BACKTRACE: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Formatting
run: cargo fmt --all -- --check
- name: Test
run: |
set -euo pipefail
IFS=$'\n\t'
# Check if the code is good
cargo build --all --locked
cargo clippy -- --deny warnings
cargo test --all --locked
- name: Build the Docker image
run: docker build -t website .