fixed dockerfile issue #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-test-go | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
go-fmt-sentryflow: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "v1.19.1" | |
- name: Check go-fmt | |
run: make gofmt | |
working-directory: sentryflow | |
go-lint-sentryflow: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "v1.19.1" | |
- name: Check Golint | |
run: make golint | |
working-directory: sentryflow | |
go-sec-sentryflow: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "v1.19.1" | |
- name: Run Gosec Security Scanner | |
run: make gosec | |
working-directory: sentryflow | |
license: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check License Header | |
uses: apache/skywalking-eyes@a790ab8dd23a7f861c18bd6aaa9b012e3a234bce | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |