Some checks failed
Golang test / go-test (pull_request) Failing after 18s
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
27 lines
443 B
YAML
27 lines
443 B
YAML
name: Golang test
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "**.go"
|
|
|
|
jobs:
|
|
go-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
name: Checkout code
|
|
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version-file: "go.mod"
|
|
cache: true
|
|
|
|
- name: Test
|
|
timeout-minutes: 10
|
|
run: go test -timeout 10m -v ./...
|