fileboy/.github/workflows/go.yml

46 lines
850 B
YAML
Raw Normal View History

2020-03-15 12:43:56 +00:00
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
export GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
2020-03-15 12:46:58 +00:00
go get
2020-03-15 12:43:56 +00:00
- name: Build
run: go build
- name: Use
run: |
2020-03-15 13:02:32 +00:00
export PATH=/home/runner/work/fileboy/fileboy:$PATH
2020-03-15 12:55:31 +00:00
fileboy version
fileboy help
fileboy init
cat filegirl.yaml
fileboy exec
2020-03-16 03:16:14 +00:00
fileboy daemon
2020-03-15 12:55:31 +00:00
ls -al .fileboy.pid
ps aux | grep fileboy
fileboy stop