Skip to content

Bump github.com/samber/lo from 1.45.0 to 1.46.0 (#9) #11

Bump github.com/samber/lo from 1.45.0 to 1.46.0 (#9)

Bump github.com/samber/lo from 1.45.0 to 1.46.0 (#9) #11

Workflow file for this run

name: "Lint and test"
on:
push:
branches:
- master
paths-ignore:
- '*.md'
pull_request:
types: [ opened, synchronize ]
paths-ignore:
- '*.md'
branches:
- master
jobs:
lint:
name: "Run linters"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.1
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "^1.17"
- name: Install deps & build
run: |
go mod download
go build -v ./...
- name: Test with the Go CLI
run: go test