Skip to content

gamess-us: 2023R1P1 -> 2024R2P1 #703

gamess-us: 2023R1P1 -> 2024R2P1

gamess-us: 2023R1P1 -> 2024R2P1 #703

Workflow file for this run

name: basic nix checks
on: [pull_request]
jobs:
instantiate:
name: nix-instantiate
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- run: nix-instantiate release.nix -A qchem
# Check if the flake is sane
check:
name: nix flake check
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- run: |
nix-instantiate release.nix -A qchem
nix flake check --accept-flake-config --no-build
statix:
name: statix code check
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v25
- uses: actions/checkout@v4
- name: get changed files
id: changed-files
uses: tj-actions/changed-files@v41
- run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
nix run nixpkgs#statix -- check $file
done