.github/workflows/unit-tests.yml
.github/workflows/unit-tests.ymlBrowse 1970 files
252 tokens
903 bytes
Token encoding: o200k_base
Snapshot 21a254f
← Back to SKILL.md
1name: Linting, Formatting, and Unit Tests2 3# Security: Actions are pinned to commit SHAs instead of tags/versions where possible.4# Tags are mutable and can be force-pushed, allowing attackers to replace trusted5# code with malicious code. SHAs are immutable and protect against supply chain attacks.6 7on:8 push:9 branches: [main]10 paths-ignore:11 - "docs/**"12 pull_request:13 paths-ignore:14 - "docs/**"15 schedule:16 # run every day to alert against changes in default mise versions which break snapshot tests17 - cron: "0 0 * * *"18 19env:20 MISE_ENV: ci21 22jobs:23 test:24 name: Check and Test25 runs-on: ubuntu-latest26 steps:27 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd28 - uses: jdx/mise-action@1648a7812b9aeae629881980618f07993286915129 30 - name: Go Checks31 run: mise run check32 33 - name: Test Unit34 run: mise run test35