en/.forgejo/workflows/verify.yaml
jutty 1abbe08c6f
Some checks are pending
/ verify (push) Waiting to run
CI: Make git config get infallible
2026-03-21 09:16:40 -03:00

57 lines
1.4 KiB
YAML

on:
push:
branches:
- '*'
paths:
- src/**
- tests/**
- static/graph.toml
- .forgejo/**
- Cargo.toml
- Cargo.lock
jobs:
verify:
runs-on: docker
timeout-minutes: 20
container:
image: rust:slim
steps:
- name: Install action dependencies
run: apt-get install --no-install-recommends --update -y nodejs curl git
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-tags: true
- name: Setup Rust toolchain
run: |
#rustup component add llvm-tools-preview
#rustup component add --toolchain nightly rustfmt clippy
#rustup target add x86_64-unknown-linux-gnu
#rustup target add x86_64-unknown-linux-musl
- name: Setup additional tooling
run: |
.forgejo/workflows/setup-tools.sh
echo "git config add"
git config --add safe.directory "$PWD"
echo "git config get"
git config --global safe.directory || true
echo "ls -la"
ls -la
- name: Build
run: just ci build
- name: Format
run: just ci format-assess
- name: Lint
run: just ci lint-assess
- name: Cargo check
run: just ci check
- name: Test
run: just ci test
- name: Assess test coverage
run: just ci cover-assess