Skip to content

Merge pull request #2 from devilcove/dependabot/go_modules/master/git… #8

Merge pull request #2 from devilcove/dependabot/go_modules/master/git…

Merge pull request #2 from devilcove/dependabot/go_modules/master/git… #8

Workflow file for this run

name: Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Test
run: |
go vet ./...
go test -v ./...
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=5m