Skip to content

gostyle-action

Actions
Run gostyle
v1.4.0
Latest
Star (4)

gostyle-action

GitHub Action for gostyle

Usage

# .github/workflows/ci.yml
name: Lint and Test

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      -
        uses: actions/checkout@v4
      -
        uses: actions/setup-go@v4
        with:
          go-version-file: go.mod
      -
        uses: k1LoW/gostyle-action@v1
        with:
          config-file: .gostyle.yml
      -
        name: Run tests
        run: go test ./...

See action.yml.

Reference

gostyle-action 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

Run gostyle
v1.4.0
Latest

gostyle-action 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.