convert drone workflow to gitea actions
All checks were successful
flake / flake (push) Successful in 5m7s
All checks were successful
flake / flake (push) Successful in 5m7s
This commit is contained in:
parent
9752e63f09
commit
3c693ee42f
27
.drone.yml
27
.drone.yml
@ -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
|
||||
|
||||
...
|
19
.gitea/workflows/flake.yaml
Normal file
19
.gitea/workflows/flake.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
name: flake
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
flake:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Prepare for Nix installation
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y sudo
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- name: lint
|
||||
run: nix fmt
|
||||
- name: flake check
|
||||
run: nix flake check --all-systems
|
||||
timeout-minutes: 10
|
Loading…
Reference in New Issue
Block a user