12345678910111213141516171819202122232425262728 |
- name: Go
- on:
- push:
- branches: [ action-ci ]
- jobs:
- build:
- name: Build
- runs-on: [ self-hosted ]
- steps:
- - name: Get dependencies
- run: |
- go get -v -t -d ./...
- if [ -f Gopkg.toml ]; then
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure
- fi
- - name: Check dir
- run : |
- pwd
- ls -la
- - name: Build
- run: |
- cd server
- go build -v .
|