Skip to content

chore(deps): update cachix/install-nix-action action to v30 #342

chore(deps): update cachix/install-nix-action action to v30

chore(deps): update cachix/install-nix-action action to v30 #342

Workflow file for this run

name: CI
on:
push:
jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
build:
strategy:
fail-fast: false
matrix:
nixosConfig:
- artemis
# - delphi
- minimal
- marie-desktop
name: Build ${{ matrix.nixosConfig }}
runs-on: ubuntu-latest
needs: pre_ci
if: needs.pre_ci.outputs.continue
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
- name: Build ${{ matrix.nixosConfig }}
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
run: |
nix shell --inputs-from . \
nixpkgs#nix-fast-build \
-c \
nix-fast-build \
--skip-cached \
--no-nom \
--cachix-cache uwumarie \
--flake .#nixosConfigurations.marie-desktop.config.system.build.toplevel
build-packages:
strategy:
fail-fast: false
matrix:
package:
- installer-stable
- alvr
- nixvim
- opentofu
- plasma-aero-theme
- qpm-cli
- sandwine
- wgsl-analyzer
- yt-dlp
name: Build package ${{ matrix.package }}
runs-on: ubuntu-latest
needs: pre_ci
if: needs.pre_ci.outputs.continue
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
- uses: cachix/cachix-action@v15
with:
name: uwumarie
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build .#packages.x86_64-linux.${{ matrix.package }} --print-build-logs
opentofu:
name: Check OpenTofu infra
runs-on: ubuntu-latest
needs: pre_ci
if: needs.pre_ci.outputs.continue
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
- name: Initialize OpenTofu
run: nix run .#opentofu -- -chdir=infra init
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Validate OpenTofu infra
run: nix run .#opentofu -- -chdir=infra validate
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}