28 lines
968 B
YAML
28 lines
968 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Nix targets
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Create PR
|
|
uses: https://github.com/quentinlegot/gitea-create-pull-request@d1fd3e1f0c98ee7a009c035f9b7ad3f3bdc0f281
|
|
with:
|
|
remote-instance-api-version: v1
|
|
token: ${{ secrets.GIT_TOKEN_PR_WRITE }}
|
|
branch: statix-lint
|
|
delete-branch: true
|
|
title: "mreow"
|
|
commit-message: "mlem"
|
|
body: |
|
|
Automated linting performed by the [statix-action](https://github.com/jocelynthode/statix-action) GitHub Action.
|
|
|
|
- uses: actions/checkout@v4
|
|
- uses: http://github.com/cachix/install-nix-action@v18
|
|
- uses: http://github.com/cachix/cachix-action@v12
|
|
with:
|
|
name: statix
|
|
- name: Check Nix flake inputs
|
|
uses: http://github.com/DeterminateSystems/flake-checker-action@main
|
|
- uses: http://git.shobu.fr/sin_serhao/statix-action@master
|