fix(master): pass lifecycle configuration to master container (#1062) #510
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Lint | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
types: [opened, synchronize, ready_for_review, reopened] | |
jobs: | |
codespell: | |
name: Codespell | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Codespell | |
uses: codespell-project/actions-codespell@v2 | |
with: | |
check_filenames: true | |
ignore_words_list: aks,ags,startin,NotIn | |
skip: "*.js,package-lock.json,*.lock,*/Font-Awesome/*,*.toml,*.svg,*assets/vendor/bootstrap*,cert-manager.crds.yaml,*/docs/*" | |
pre-commit: | |
name: PreCommit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: DeterminateSystems/nix-installer-action@v13 | |
with: | |
diagnostic-endpoint: "" | |
- uses: DeterminateSystems/magic-nix-cache-action@v7 | |
with: | |
diagnostic-endpoint: "" | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- id: files | |
uses: tj-actions/changed-files@v44 | |
- name: nix checks | |
run: nix flake check | |
- name: nix pre-commit | |
run: nix develop . --command pre-commit run --files ${{ steps.files.outputs.all_changed_files }} --show-diff-on-failure |