all repos

mugit @ ef55256

🐮 git server that your cow will love

mugit/.github/workflows/ci.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
test: add missing tests (#5)..., 2 months ago
1
name: ci
2
on:
3
  workflow_dispatch:
4
  push:
5
6
jobs:
7
  release:
8
    runs-on: ubuntu-latest
9
    steps:
10
      - uses: actions/checkout@v5
11
12
      - name: Set up Go
13
        uses: actions/setup-go@v5
14
        with:
15
          go-version-file: go.mod
16
          cache-dependency-path: go.mod
17
18
      - name: Build
19
        run: go build .
20
21
      - name: Tests
22
        run: go test -v -race ./...
23
24
  nix:
25
    runs-on: ubuntu-latest
26
    steps:
27
      - uses: actions/checkout@v5
28
29
      - uses: cachix/install-nix-action@v31
30
        with:
31
          github_access_token: ${{ secrets.GITHUB_TOKEN }}
32
33
      - run: nix build
34
      - run: nix flake check