Skip to content

feat: use nix in github actions #32

feat: use nix in github actions

feat: use nix in github actions #32

Workflow file for this run

name: Build and Test E2E
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v27
- name: Install go dependencies
run: make install-deps
- name: Build
run: make build
- name: Print go binaries in home
run: ls -la $HOME/go/bin
- name: Test e2e
run: make e2e
env:
PATH: ${{ runner.os }}-go/bin:$PATH
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: go-generate-fast
path: bin/go-generate-fast
retention-days: 7