1
0

Added workflow?
Some checks failed
CI / clippy (push) Failing after 5s
CI / Typos (push) Failing after 7s
CI / Build (push) Successful in 14s

This commit is contained in:
Mark 2025-02-25 19:17:29 -08:00
parent 4d3cbe9ccb
commit 76f20d7948
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
3 changed files with 55 additions and 1 deletions

View File

@ -9,4 +9,8 @@ trim_trailing_whitespace = false
insert_final_newline = false
[*.asm]
indent_style = space
indent_style = space
[*.yml]
indent_size = space
indent_size = 2

42
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,42 @@
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
typos:
name: "Typos"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check typos
uses: crate-ci/typos@master
with:
config: ./typos.toml
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clippy
working-directory: ./copperd
run: cargo clippy --all-targets --all-features
build:
name: "Build"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: "Install TeXLive"
run: |
sudo apt update
DEBIAN_FRONTEND=noninteractive \
sudo apt install --yes \
rustup

8
typos.toml Normal file
View File

@ -0,0 +1,8 @@
[default]
extend-ignore-re = [
# spell:disable-line
"(?Rm)^.*(%|#|//)\\s*spell:disable-line$",
# spell:<on|off>
"(?s)(%|#|//)\\s*spell:off.*?\\n\\s*(%|#|//)\\s*spell:on",
]