https://github.com/suzuki-shunsuke/go-test-workflow
GitHub Actions Reusable Workflow for testing Go application
https://github.com/suzuki-shunsuke/go-test-workflow
Last synced: 21 days ago
JSON representation
GitHub Actions Reusable Workflow for testing Go application
- Host: GitHub
- URL: https://github.com/suzuki-shunsuke/go-test-workflow
- Owner: suzuki-shunsuke
- License: mit
- Created: 2023-01-14T05:51:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-01T02:04:06.000Z (3 months ago)
- Last Synced: 2025-02-01T03:18:12.828Z (3 months ago)
- Language: Go
- Size: 472 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-test-workflow
GitHub Actions Reusable Workflow for testing Go application
## How to use
```yaml
---
name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: {}
jobs:
test:
uses: suzuki-shunsuke/go-test-workflow/.github/workflows/test.yaml@287a75bd5ffae8d64db887708d9262381a7f6655 # v1.1.1
with:
aqua_policy_config: aqua-policy.yaml
aqua_version: v1.32.3
go-version: 1.19.5
golangci-lint-timeout: 120s
permissions:
pull-requests: write
contents: read # To checkout private repository
```## Workflow
[Workflow](.github/workflows/test.yaml)
## Requirements
- reviewdog
- golangci-lint```sh
aqua g -i reviewdog/reviewdog golangci/golangci-lint
```## LICENSE
[MIT](LICENSE)