Skip to content

ci: fix clippy checks in CI #460

ci: fix clippy checks in CI

ci: fix clippy checks in CI #460

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
schedule:
# 16:24 UTC on Tuesdays
- cron: "24 16 * * tue"
workflow_dispatch:
repository_dispatch:
types: [tests]
env:
DOCKER_BUILDKIT: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build . --pull -f varia/Dockerfile.tests --tag=rocket-sentry-build
- name: Test suite
run: docker run --rm rocket-sentry-build cargo test --color=always
- name: Clippy lints
run: docker run --rm rocket-sentry-build cargo clippy --color=always
- name: rustfmt
run: docker run --rm rocket-sentry-build cargo fmt -- --color=always --check