mirror of
https://github.com/avelino/awesome-go.git
synced 2024-12-12 17:13:58 +00:00
20 lines
335 B
YAML
20 lines
335 B
YAML
name: tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Running test
|
|
runs-on: ubuntu-latest
|
|
container: golang:latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Get dependencies
|
|
run: go get -v -t -d ./...
|
|
- name: Run tests
|
|
run: go test repo_test.go scripts.go
|