Skip to content

This github action automatically formats your golang files and pushes them to your repo 🚀

License

Notifications You must be signed in to change notification settings

sladyn98/auto-go-format

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

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-go-format

This github action automatically formats your golang files in pull requests and pushes them. 🚀

Installation

Create a workflow yaml file (eg: .github/workflows/go-format.yml see Creating a Workflow file):

name: Golang Formatter
on: [pull_request]
jobs:
  build:
    name: Golang Formatter
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
      with:
        fetch-depth: 0
    - name: Golang Formatter
      uses: sladyn98/auto-go-format@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      

About

This github action automatically formats your golang files and pushes them to your repo 🚀

Resources

License

Stars

Watchers

Forks

Packages

No packages published