Bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 #277
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=v4.1.7 | |
- uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # tag=v27 | |
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@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=v4.1.7 | |
- uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # tag=v27 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
- name: golangci-lint | |
run: nix develop --command golangci-lint run |