Skip to content

fix hot tags tests failing based on time of the month #829

fix hot tags tests failing based on time of the month

fix hot tags tests failing based on time of the month #829

Workflow file for this run

name: Lint
on:
workflow_dispatch:
workflow_call:
push:
branches: ["main"]
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-gnu
profile: minimal
components: clippy
override: true
- name: Cache Cargo clippy
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-clippy-
- name: Run clippy
run: cargo clippy -- -D warnings # Fail on clippy warnings