From 909b49ef8cb425df4f5e9a8a3d7aa89e7286dac6 Mon Sep 17 00:00:00 2001 From: Dark Litss Date: Sat, 18 Dec 2021 23:42:14 +0800 Subject: [PATCH] ci: add dispatch workflow to build --- .github/workflows/go.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..d18e690 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,21 @@ +name: Go + +on: + - workflow_dispatch + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + - name: Install requirements + run: sudo apt-get install -y wireguard-tools + + - name: Build + run: make