summaryrefslogtreecommitdiff
path: root/.github/workflows/ci-build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci-build.yml')
-rw-r--r--.github/workflows/ci-build.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 339c841a..cf63195c 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -1,10 +1,6 @@
name: CI
-on:
- push:
- branches: '**'
- tags: '**'
- pull_request:
+on: [push, pull_request]
jobs:
build:
@@ -14,7 +10,7 @@ jobs:
fail-fast: false
matrix:
php: [7.1, 7.2, 7.3, 7.4]
- go: [1.12]
+ go: [1.12, 1.13]
env:
GO111MODULE: on
steps:
@@ -103,6 +99,17 @@ jobs:
./codecov-bash -f health.txt
fi
+ golangci-check:
+ name: runner / golangci-lint
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+ - name: golangci-lint
+ uses: reviewdog/action-golangci-lint@v1
+ with:
+ github_token: ${{ secrets.github_token }}
+
image:
name: Build docker image
runs-on: ubuntu-latest