Skip to content

Merge pull request #195 from kachick/rewrite-fmt-with-go #31

Merge pull request #195 from kachick/rewrite-fmt-with-go

Merge pull request #195 from kachick/rewrite-fmt-with-go #31

Workflow file for this run

name: CI - Nix
on:
push:
branches: [main]
paths:
- '.github/workflows/ci-nix.yml'
- '*.nix'
- 'Makefile.toml'
pull_request:
paths:
- '.github/workflows/ci-nix.yml'
- '*.nix'
- 'Makefile.toml'
schedule:
# Every 10:42 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '42 1 * * *'
workflow_dispatch:
jobs:
tasks:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix-build
- name: Log current versions
run: nix-shell --run 'makers deps'
- name: Run linters
run: nix-shell --run 'makers check'