Skip to content
GitHub Actions for Golang
Shell Dockerfile
Branch: master
Clone or download
Pull request Compare This branch is 13 commits behind sjkaliski:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fmt
LICENSE
README.md

README.md

go-github-actions

A collection of GitHub Actions for use in Golang projects.

Actions

gofmt

Runs gofmt on files in the directory. Fails if any file is not properly formatted.

action "gofmt" {
  uses    = "sjkaliski/go-github-actions/fmt@v0.1.0"
  needs   = "previous-action"
  secrets = ["GITHUB_TOKEN"]

  env {
    GO_WORKING_DIR = "./path/to/go/files"
  }
}

To learn more about gofmt, visit the official docs.

You can’t perform that action at this time.