convert drone workflow to gitea actions #209

Merged
JakeHillion merged 1 commits from gitea-actions into main 2024-04-01 20:36:37 +01:00
2 changed files with 13 additions and 27 deletions

View File

@ -1,27 +0,0 @@
---
kind: pipeline
type: docker
name: check
steps:
- name: lint
image: nixos/nix:2.20.1
commands:
- nix --extra-experimental-features 'nix-command flakes' fmt
- git diff --exit-code
- name: check
image: nixos/nix:2.20.1
commands:
- nix --extra-experimental-features 'nix-command flakes' flake check
trigger:
event:
exclude:
- tag
- pull_request
---
kind: signature
hmac: 5af72ec77460d7d914f9177c78febed763ea1a33dc0f0e39e7599bbf8f4ad987
...

View File

@ -0,0 +1,13 @@
name: flake
on: [push]
jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- name: lint
run: nix --extra-experimental-features 'nix-command flakes' fmt
- name: flake check
run: nix --extra-experimental-features 'nix-command flakes' flake check