Skip to content

Publish a signed loreserver image from the released binaries #326

Publish a signed loreserver image from the released binaries

Publish a signed loreserver image from the released binaries #326

Workflow file for this run

# SPDX-FileCopyrightText: 2026 Epic Games, Inc.
# SPDX-License-Identifier: MIT
name: Lint
on:
pull_request:
types: [opened, synchronize, reopened]
permissions: {}
concurrency:
group: lint-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
permissions:
contents: read # Check out the PR head to lint it
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.13"
cache: pip
cache-dependency-path: .pre-commit-config.yaml
# cargo-clippy, cargo-fmt and cargo-deny run as Rust pre-commit hooks.
# Lore formats with nightly; clippy and cargo-deny run on stable.
- name: Install Rust toolchains
run: |
rustup toolchain install nightly --profile minimal -c rustfmt
rustup component add clippy rustfmt
- name: Cache cargo registry and build artifacts
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cargo-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
cargo-${{ runner.os }}-
- name: Cache pre-commit hook environments
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
pre-commit-
- name: Install pre-commit
run: python -m pip install --upgrade pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always