-
-
Notifications
You must be signed in to change notification settings - Fork 13
54 lines (49 loc) · 1.46 KB
/
check.yml
File metadata and controls
54 lines (49 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Check
run-name: ${{ github.actor }} is running checks
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_call:
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Check formatting
run: nix flake check --print-build-logs
build-the-world:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Build all branding assets
run: nix run .\#nixos-branding.verification.verify-nixos-branding-all --print-build-logs
branding-guide-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get latest or unreleased info
id: query-release-info
uses: release-flow/keep-a-changelog-action@v2
with:
command: query
version: latest-or-unreleased
changelog: ./package-sets/top-level/nixos-branding/nixos-branding-guide/CHANGELOG.md
- name: Display release info
run: |
echo "Version: ${{ steps.query-release-info.outputs.version }}"
echo "Date: ${{ steps.query-release-info.outputs.release-date }}"
cat <<'EOF'
"${{ steps.query-release-info.outputs.release-notes }}"
EOF