Skip to content

build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 #702

build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1

build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 #702

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@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: '^1.21.0'
- name: Tests
run: "go test -race -coverprofile='coverage.txt' -covermode=atomic -v ./gpg/"
- uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8
with:
token: ${{ secrets.CODECOV_TOKEN }}
static_analysis:
runs-on: ubuntu-22.04
name: Run static analysis and linting
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c
- 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@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c
- run: nix-shell --run 'goreleaser --snapshot --clean'
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: test-release-dist
path: dist/**/*
retention-days: 2