From ea42737d5d1e79f2e4d2536c89458e74c6f52bc8 Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Wed, 24 Sep 2025 01:36:12 -0700 Subject: [PATCH 1/2] Forgejo Action: Run just check. --- .forgejo/workflows/ci.yml | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..5de9775 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + check: + runs-on: docker + + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: https://github.com/dtolnay/rust-toolchain@stable + with: + toolchain: stable + components: "clippy, rustfmt" + - name: Install Clang + uses: https://github.com/egor-tensin/setup-clang@v1 + - name: Rust Cache + uses: https://github.com/Swatinem/rust-cache@v2 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: 'frontend/package-lock.json' + + - name: Install frontend dependencies + run: | + cd frontend + npm ci + + - run: apt install just + - name: Run just check + run: just check From a34e682fa8ac0bdc31b5f187ad28c12f60c15454 Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Wed, 24 Sep 2025 01:36:12 -0700 Subject: [PATCH 2/2] Forgejo Action: Run just check. --- .forgejo/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..581ea75 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + check: + runs-on: docker + + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: https://github.com/dtolnay/rust-toolchain@stable + with: + toolchain: stable + components: "clippy, rustfmt" + - name: Rust Cache + uses: https://github.com/Swatinem/rust-cache@v2 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: 'frontend/package-lock.json' + + - name: Install frontend dependencies + run: | + cd frontend + npm ci + + - run: apt install just clang + - name: Run just check + run: just check