summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authora1e7cb88 <[email protected]>2021-10-19 19:08:14 +0800
committerKurenai <[email protected]>2021-10-19 19:08:14 +0800
commitffaf5deb45310418424eaf3b9204e129bcc6fa18 (patch)
treef534c1f79eed12c14bc0e2959b7eea2afebe3935 /.github/workflows/build.yml
parent9fd0b9515f53908f85bbb36f1c9063ee1384d55f (diff)
Add workflow config
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml37
1 files changed, 0 insertions, 37 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
index 70d7357..0000000
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Build
-on:
- push:
- branches:
- - master
- workflow_dispatch:
- pull_request:
-
-jobs:
-
- lint:
- name: Lint
- runs-on: ubuntu-latest
- steps:
- - name: Set up Go
- uses: actions/setup-go@v1
- with:
- go-version: 1.12
-
- - name: Check out code
- uses: actions/checkout@v1
-
- - name: Lint Go Code
- run: |
- export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14
- go get -u golang.org/x/lint/golint
- make lint
-
- build:
- name: Build
- runs-on: ubuntu-latest
- needs: [lint]
- steps:
- - name: Set up Go
- uses: actions/setup-go@v1
- with:
- go-version: 1.12