Skip to content

Go Formatter

Actions
Automatically formats golang files in pull requests
v0.0.1
Latest
Star (11)

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 }}
      

Go Formatter is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automatically formats golang files in pull requests
v0.0.1
Latest

Go Formatter is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.