All checks were successful
/ check-renovaterc (push) Successful in 2s
/ build (push) Successful in 0s
/ check (clippy) (push) Successful in 2s
/ check (module-ipv4-only-test) (push) Successful in 6s
/ check (module-ipv4-test) (push) Successful in 6s
/ check (module-ipv6-only-test) (push) Successful in 7s
/ check (module-ipv6-test) (push) Successful in 7s
/ check (module-nginx-test) (push) Successful in 7s
/ check (nextest) (push) Successful in 2s
/ check (treefmt) (push) Successful in 2s
/ report-size (push) Successful in 1s
53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
on: [push]
|
|
jobs:
|
|
check-renovaterc:
|
|
runs-on: nixos
|
|
steps:
|
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- name: Validate renovaterc
|
|
run: |
|
|
nix --version
|
|
nix shell nixpkgs#renovate --command renovate-config-validator
|
|
build:
|
|
runs-on: nixos
|
|
steps:
|
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- name: Build Package
|
|
run: |
|
|
nix --version
|
|
nix build --print-build-logs .#
|
|
check:
|
|
needs: build # we use the built binaries in the checks
|
|
runs-on: nixos
|
|
strategy:
|
|
matrix:
|
|
check:
|
|
- treefmt
|
|
- clippy
|
|
- nextest
|
|
- module-ipv4-test
|
|
- module-ipv6-test
|
|
- module-nginx-test
|
|
- module-ipv4-only-test
|
|
- module-ipv6-only-test
|
|
steps:
|
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- name: Check
|
|
run: |
|
|
set -x
|
|
nix --version
|
|
# shellcheck disable=SC2016
|
|
nix build --print-build-logs '.#checks.x86_64-linux.${{ matrix.check }}'
|
|
report-size:
|
|
runs-on: nixos
|
|
needs: build
|
|
steps:
|
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- run: nix --version
|
|
- name: Generate size report
|
|
uses: https://git.salame.cl/jalil/nix-flake-outputs-size@main
|
|
with:
|
|
comment-on-pr: ${{ github.ref_name != 'main' }}
|
|
generate-artifact: ${{ github.ref_name == 'main' }}
|
|
do-comparison: true
|
|
job-name: report-size
|