Skip to content

Update cachix/install-nix-action digest to 8aa0397 #490

Update cachix/install-nix-action digest to 8aa0397

Update cachix/install-nix-action digest to 8aa0397 #490

Workflow file for this run

# Copyright 2024 3WEBS LLC
# SPDX-License-Identifier: GPL-3.0-or-later
name: Continuous Integration
on: # yamllint disable-line
push:
branches:
- main
pull_request:
branches:
- main
types:
- synchronize
- opened
- reopened
jobs:
markdownlint:
name: πŸ–‹οΈ Markdownlint
runs-on: ubuntu-latest
steps:
- name: πŸ“¦ Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 2
- name: 🟰 Detect Changed Files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
id: changed-files
with:
files: '**/*.md'
separator: ","
- name: πŸ–‹οΈ Markdownlint
uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0
if: steps.changed-files.outputs.all_changed_files != ''
with:
separator: ","
config: .markdownlint.yml
globs: ${{ steps.changed-files.outputs.all_changed_files }}
reuse:
name: πŸ“ REUSE
runs-on: ubuntu-latest
steps:
- name: πŸ“¦ Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 2
- name: 🟰 Detect Changed Files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
id: changed-files
with:
files: '**/*'
separator: "|"
- name: πŸ—‘οΈ Delete Unchanged Files
run: |
shopt -s extglob
rm -rf !(${{ steps.changed-files.outputs.all_changed_files }}|.reuse|LICENSES)
- name: πŸ“ REUSE Compliance Check
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
yamllint:
name: πŸ“œ Yamllint
runs-on: ubuntu-latest
steps:
- name: πŸ“¦ Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 2
- name: 🟰 Detect Changed Files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
id: changed-files
with:
files: '**/*.yml'
separator: " "
- name: ❄️ Install Nix
uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31
with:
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
- name: ❄️ Cache Nix Store
uses: DeterminateSystems/magic-nix-cache-action@565684385bcd71bad329742eefe8d12f2e765b39 # v13
with:
# Skip uploads for PRs to save time
use-gha-cache: ${{ github.event_name == 'push' }}
use-flakehub: ${{ github.event_name == 'push' }}
# Disable telemetry
diagnostic-endpoint: ""
- name: πŸ“œ Yamllint
if: steps.changed-files.outputs.all_changed_files != ''
run: yamllint -c .yamllint.yml ${{ steps.changed-files.outputs.all_changed_files }}