🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/gouef/go-test-with-coverage-action

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/gouef/go-test-with-coverage-action

v1.0.1
Source
Go
Version published
Created
Source

Go test with coverage

Go test with coverage Github action

GitHub stars Usages

Versions

Stable Version GitHub Release GitHub Release

Introduction

Run go test and send report to codecov

Example

name: Run tests and upload coverage

on:
  workflow_dispatch:
  pull_request:
    types: [opened, synchronize, edited]
  push:

permissions:
  id-token: write
  contents: read

jobs:
  test:
    name: Run tests and collect coverage
    runs-on: ubuntu-latest
    steps:
      - name: Run tests and upload to coverage
        uses: gouef/go-test-with-coverage-action@main
        with:
          go-version: 1.23.4
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Contributors

JanGalek actions-user

FAQs

Package last updated on 09 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts