summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-07 15:52:57 +0300
committerValery Piashchynski <[email protected]>2020-02-07 15:52:57 +0300
commit785e58f8bea7eb9052babc1dd0e94859328728e5 (patch)
tree8e301f947211d0a515f79d2b33e85598eb11766c /.github
parent1f9a12a7b3ab745ee39afe2bbc4a19d21fbe7d91 (diff)
Update README.md (remove travis, replace with github actions)
Fix innefectual usage of maps Update headers (canonical usage) Add golangci-lint check to github actions and go 1.13
Diffstat (limited to '.github')
-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