Skip to content

Merge pull request #172 from prometheus/dependabot/go_modules/golang.… #250

Merge pull request #172 from prometheus/dependabot/go_modules/golang.…

Merge pull request #172 from prometheus/dependabot/go_modules/golang.… #250

Workflow file for this run

---
name: CI
on: # yamllint disable-line rule:truthy
pull_request:
push:
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: quay.io/prometheus/golang-builder:1.20-base
steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- uses: ./.github/promci/actions/setup_environment
- run: make test
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Lint
uses: golangci/[email protected]
with:
version: v1.51.2