Merge pull request #7 from sysdiglabs/Dlorite-patch-1 #23
This file contains hidden or 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: Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [ '1.18'] | |
name: Go ${{ matrix.version }} | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.version }} | |
- uses: actions/checkout@v2 | |
- name: Execute test in integrations manager | |
run: | | |
go mod tidy | |
go mod download | |
go test ./... |