From ed1f20b1e65e0c595d05ef062b8669dc4ec93473 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhang Date: Fri, 13 Mar 2020 14:59:56 +0800 Subject: [PATCH] Hello Github Actions --- .github/workflows/tunasync.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/tunasync.yml diff --git a/.github/workflows/tunasync.yml b/.github/workflows/tunasync.yml new file mode 100644 index 0000000..10214d1 --- /dev/null +++ b/.github/workflows/tunasync.yml @@ -0,0 +1,33 @@ +name: tunasync + +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: | + go get -v -t -d ./cmd/tunasync + go get -v -t -d ./cmd/tunasynctl + + - name: Build + run: | + make tunasync + make tunasynctl