We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47d620d commit 597b082Copy full SHA for 597b082
.github/workflows/ci-docker.yml
@@ -3,12 +3,21 @@ name: "CI: docker build"
3
on: [pull_request]
4
5
jobs:
6
-
7
build:
8
9
runs-on: ubuntu-latest
10
11
steps:
12
- - uses: actions/checkout@v2
13
- - name: Build the Docker image
14
- run: docker build . --file Dockerfile --tag webdevops/azure-loganalytics-exporter:$(date +%s)
+ - uses: actions/checkout@v2
+
+ - name: Run Gosec Security Scanner
+ uses: securego/gosec@master
+ with:
+ args: ./...
15
16
+ - name: Run Golangci lint
17
+ uses: golangci/golangci-lint-action@v2
18
19
+ version: latest
20
+ args: -E exportloopref,gofmt --timeout=30m
21
22
+ - name: Build the Docker image
23
+ run: docker build . --file Dockerfile --tag ${{ github.repository }}:$(date +%s)
0 commit comments