Skip to content

Commit

Permalink
ci: improve CI workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Feb 18, 2025
1 parent be7e979 commit 3ab0240
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 34 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: 2024 Sefa Eyeoglu <[email protected]>
#
# SPDX-License-Identifier: MIT

name: CI

on: [push, pull_request]

jobs:
format:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Check formatting
run: |
nix fmt -- --ci
check-readme:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Check README contents
run: |
nix run .#update-readme
git update-index --refresh
git diff-index --quiet HEAD -- || git diff && echo "The README is out of date. Please run 'nix run .#update-readme' to update the README." >&2 ** exit 1
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v5
18 changes: 0 additions & 18 deletions .github/workflows/format.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/reuse.yaml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ This overlay provides the following packages:
- `envision-unwrapped`
- `index_camera_passthrough`
- `monado`
- `opencomposite`
- `opencomposite-vendored`
- `proton-ge-rtsp-bin`
- `wayvr-dashboard`
Expand Down

0 comments on commit 3ab0240

Please sign in to comment.