mirror of
https://codeberg.org/steam-vent/proto-csgo.git
synced 2026-06-03 10:04:08 +02:00
31 lines
765 B
YAML
31 lines
765 B
YAML
name: "CI"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
check-proto:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
|
with:
|
|
name: link
|
|
instance: https://cache.icewind.link
|
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
|
- run: |
|
|
nix run .#proto-builder protos src/generated
|
|
- run: |
|
|
git diff
|
|
git diff-index --quiet HEAD --
|
|
|
|
checks:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
|
with:
|
|
name: link
|
|
instance: https://cache.icewind.link
|
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
|
- run: nix flake check --keep-going
|