Skip to content

Bump github/codeql-action from 3.25.9 to 3.25.10 #760

Bump github/codeql-action from 3.25.9 to 3.25.10

Bump github/codeql-action from 3.25.9 to 3.25.10 #760

Workflow file for this run

name: CI
permissions: read-all
on:
push:
branches:
- main
pull_request:
jobs:
tests:
strategy:
matrix:
os: ["windows-2022", "ubuntu-22.04", "macos-12"]
runs-on: ${{ matrix.os }}
name: Tests (${{ matrix.os }})
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version: '^1.21.0'
- name: Tests
run: "go test -race -coverprofile='coverage.txt' -covermode=atomic -v ./gpg/"
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
token: ${{ secrets.CODECOV_TOKEN }}
static_analysis:
runs-on: ubuntu-22.04
name: Run static analysis and linting
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b
- run: nix-shell --run 'golangci-lint run --timeout=5m'
test_release:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
name: Test release
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b
- run: nix-shell --run 'goreleaser --snapshot --clean'
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: test-release-dist
path: dist/**/*
retention-days: 2