Skip to content

Merge pull request #47 from fahedouch/dependabot/github_actions/golan… #115

Merge pull request #47 from fahedouch/dependabot/github_actions/golan…

Merge pull request #47 from fahedouch/dependabot/github_actions/golan… #115

Workflow file for this run

name: test
on:
push:
branches:
- main
- 'release/**'
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.45.0
args: --verbose
test-unit:
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
- uses: actions/[email protected]
with:
fetch-depth: 1
- name: "Run unit tests"
run: go test -v .