From 785e58f8bea7eb9052babc1dd0e94859328728e5 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 7 Feb 2020 15:52:57 +0300 Subject: 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 --- .github/workflows/ci-build.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to '.github') 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 -- cgit v1.2.3