Skip to content

Merge pull request #38 from Shopify/dependabot/go_modules/gopkg.in/ya… #64

Merge pull request #38 from Shopify/dependabot/go_modules/gopkg.in/ya…

Merge pull request #38 from Shopify/dependabot/go_modules/gopkg.in/ya… #64

Workflow file for this run

name: mybench tests
on:
push:
branches:
- main
pull_request:
jobs:
build-examples:
name: Build examples
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22.1
- name: Build all examples
run: make
go-fmt:
name: Golang lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22.1
- name: lint
uses: golangci/golangci-lint-action@v3
with:
# Disable errcheck as we deliberately ignore certain errors
args: --disable=errcheck
tests:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22.1
- name: run tests
run: go test -v ./...