Skip to content

Configure Renovate

Configure Renovate #34

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
formatting:
runs-on: ubuntu-22.04
steps:
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v3
- name: Build shell
run: nix-shell --run true
- name: Install npm deps
run: nix-shell --run "cd pkgs/espressos-web && npm install"
- name: Check format
run: nix-shell --run "treefmt --fail-on-change"
build:
runs-on: ubuntu-22.04
steps:
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/cache@v3
with:
path: |
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/checkout@v3
- name: Build shell
run: nix-shell --run true
- name: Build
run: nix-shell --run "cd pkgs/espressos && make"
check:
runs-on: ubuntu-22.04
steps:
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/cache@v3
with:
path: |
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/checkout@v3
- name: Build shell
run: nix-shell --run true
- name: Build
run: nix-shell --run "cd pkgs/espressos && pio check --fail-on-defect=low --fail-on-defect=medium"
test:
runs-on: ubuntu-22.04
steps:
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/cache@v3
with:
path: |
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/checkout@v3
- name: Build shell
run: nix-shell --run true
- name: Build
run: nix-shell --run "cd pkgs/espressos && make test"
license:
runs-on: ubuntu-22.04
steps:
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v3
- name: Build shell
run: nix-shell --run true
- name: Build
run: nix-shell --run "reuse lint"
espressos-web:
runs-on: ubuntu-22.04
steps:
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v3
- name: Build shell
run: nix-shell --run true
- name: Install npm deps
run: nix-shell --run "cd pkgs/espressos-web && npm install"
- name: Build web
run: nix-shell --run "cd pkgs/espressos-web && npm run build"