Skip to content

Merge pull request #33 from stacklok/dependabot/go_modules/github.com… #66

Merge pull request #33 from stacklok/dependabot/go_modules/github.com…

Merge pull request #33 from stacklok/dependabot/go_modules/github.com… #66

Workflow file for this run

name: Test and Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Go Tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v3
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3
with:
go-version: '1.22.1'
- name: Get dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -v