Merge pull request #172 from prometheus/dependabot/go_modules/golang.… #250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |