Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Go workflows #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add Go workflows #2

wants to merge 3 commits into from

Conversation

biinari
Copy link
Member

@biinari biinari commented Jul 5, 2023

https://fatsoma.atlassian.net/browse/PLAT-1203

Add reusable GitHub workflow for go tests and syntax / security checks.

Sample usage (once tagged with v1):

name: Go

on: [push]

jobs:
  syntax:
    uses: Fatsoma/reusable-actions/.github/workflows/go-syntax.yml@v1

  test:
    uses: Fatsoma/reusable-actions/.github/workflows/go-test.yml@v1
    with:
      enable-translate: true

  security:
    uses: Fatsoma/reusable-actions/.github/workflows/go-security.yml@v1

Use with:

```yml
name: Go

on: [push]

jobs:
  syntax:
    uses: Fatsoma/reusable-actions/.github/workflows/go-syntax.yml@v1

  test:
    uses: Fatsoma/reusable-actions/.github/workflows/go-test.yml@v1
    with:
      enable-translate: true

  security:
    uses: Fatsoma/reusable-actions/.github/workflows/go-security.yml@v1
```
Fix spelling of GOFMT_OUTPUT variable when checking if the output was non-empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants