mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-21 08:31:53 +03:00
24 lines
354 B
YAML
24 lines
354 B
YAML
|
box: golang
|
||
|
|
||
|
build:
|
||
|
steps:
|
||
|
- setup-go-workspace
|
||
|
|
||
|
# Gets the dependencies
|
||
|
- script:
|
||
|
name: go get
|
||
|
code: |
|
||
|
go get
|
||
|
|
||
|
# Build the project
|
||
|
- script:
|
||
|
name: go build
|
||
|
code: |
|
||
|
go build ./...
|
||
|
|
||
|
# Test the project
|
||
|
- script:
|
||
|
name: go test
|
||
|
code: |
|
||
|
go test ./...
|