Skip to content

chore(ci): update nix & cachix GH action versions #144

chore(ci): update nix & cachix GH action versions

chore(ci): update nix & cachix GH action versions #144

Workflow file for this run

name: Run Benchmarks
on:
push:
branches-ignore: [ main, docs ]
paths:
- '**.nim*'
- '**.cfg'
- '.github/workflows/**'
pull_request:
branches-ignore: [ main, docs ]
paths:
- '**.nim*'
- '**.cfg'
- '.github/workflows/**'
jobs:
run-benchmarks:
runs-on: ubuntu-latest
steps:
- name: Fetch repo's pushed branch
uses: actions/checkout@v3
- name: Install nix
uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-22.05
- name: Setup cachix
uses: cachix/cachix-action@v12
with:
name: my-dotfiles # Holds the cached flake, so not to build it
- name: Run benchmarks
run: |
nix shell -c nimble install benchy -y
nix shell -c nimble install pixie -y
nix shell -c nimble benchmark