Skip to content

ahmet/go-deadcode-checker

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deadcode Checker GitHub Action

A Github Action for checking unused code fragments in Golang projects.

Usage

Create a new GitHub Actions workflow in your project, e.g. at .github/workflows/deadcode-check.yml

name: Deadcode Check

on:
  push:
  pull_request:
    branches: 'main'

jobs:
  commit-check:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v3
    - name: Test deadcode
      uses: ahmet/go-deadcode-checker@v1
        with:
          directory: .

Optional Inputs

directory

  • Description: path to run checks on.
  • Default: '.'

Versioning

Versioning follows Semantic Versioning.

Have question or feedback?

To provide feedback (requesting a feature or reporting a bug) please post to issues.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published