Skip to content

k1LoW/gostyle-action

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

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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