Skip to content

Cleanup deps

Cleanup deps #221

Workflow file for this run

name: CI
permissions: read-all
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
name: Build
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # tag=v24
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Run GoReleaser
run: nix develop --command goreleaser release --snapshot --clean
static_analysis:
runs-on: ubuntu-22.04
name: Run static analysis and linting
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # tag=v24
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: golangci-lint
run: nix develop --command golangci-lint run