Skip to content

deps: update golangci/golangci-lint-action action to v6 (#83) #254

deps: update golangci/golangci-lint-action action to v6 (#83)

deps: update golangci/golangci-lint-action action to v6 (#83) #254

Workflow file for this run

name: test
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go environment
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "stable"
- name: Run Go tests
run: go test ./...
nix-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
- name: Build
run: nix build .