GitHub Action
Golang deadcode checker
v1
Latest version
A Github Action for checking unused code fragments in Golang projects.
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: .
- Description: path to run checks on.
- Default: '.'
Versioning follows Semantic Versioning.
To provide feedback (requesting a feature or reporting a bug) please post to issues.