Files
radicle-explorer/.github/workflows/lint.yaml
T
Rūdolfs Ošiņš 3ef1eb612e Add local release pipeline and migrate CI to GitHub Actions
Builds macOS DMG, Linux amd64 deb and AppImage from a single macOS
Apple Silicon machine using Podman containers. See RELEASE.md and
scripts/release for details.

Replaces Woodpecker CI with GitHub Actions workflows for lint, unit
tests, e2e tests, and Arch package validation.
2026-03-19 17:15:06 -06:00

45 lines
938 B
YAML

on:
pull_request:
push:
workflow_dispatch:
jobs:
lint-typescript:
runs-on: ubuntu-latest
container:
image: node:22.11.0
steps:
- uses: actions/checkout@v4
- name: Cache node_modules
id: cache-npm
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- run: npm ci
if: steps.cache-npm.outputs.cache-hit != 'true'
- run: npm run check-js
lint-rust:
runs-on: ubuntu-latest
container:
image: quay.io/radicle_garden/radicle-desktop-base:latest
steps:
- uses: actions/checkout@v4
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: rust-lint-${{ hashFiles('**/Cargo.lock') }}
restore-keys: rust-lint-
- run: scripts/check-rs