Skip to content

Resolve Rust 1.75's new get_first clippy lint #1885

Resolve Rust 1.75's new get_first clippy lint

Resolve Rust 1.75's new get_first clippy lint #1885

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
- name: Formatting
run: |
# Install extra rustup components
rustup component add rustfmt
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 .