Skip to content

Configure Renovate - autoclosed #46

Configure Renovate - autoclosed

Configure Renovate - autoclosed #46

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
GO111MODULE: on
GOPATH: /home/runner/work/botkube
GOBIN: /home/runner/work/botkube/bin
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Install golint
run: |
go get -u golang.org/x/lint/golint
- name: Codespell action
uses: sanketsudake/codespell-action@v1
- name: Before build
run: |
echo Workflow trigger - ${{ github.event_name }}
./hack/verify-gofmt.sh
./hack/verify-govet.sh
./hack/verify-golint.sh
go mod verify
- name: Build and test
run: |
make test
make
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: 'trivy-results.sarif'
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
- name: Run helm lint
run: |
helm lint helm/botkube