Skip to content

Add Go workflows - #2

Open
biinari wants to merge 8 commits into
masterfrom
go_workflow-PLAT-1203
Open

Add Go workflows#2
biinari wants to merge 8 commits into
masterfrom
go_workflow-PLAT-1203

Conversation

@biinari

@biinari biinari commented Jul 5, 2023

Copy link
Copy Markdown
Member

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
```
Comment thread .github/workflows/go-syntax.yml Outdated
Fix spelling of GOFMT_OUTPUT variable when checking if the output was non-empty
biinari added 6 commits July 6, 2023 10:52
Add option to enable a redis server in go-test workflow
Ensure we are not in a local timezone when running tests
jstemmer repo seems to have stagnated and fails to install for go 1.25
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