fix(deps): update module github.com/prometheus/client_golang to v1.20.5 - autoclosed #133
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: tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
go-version: | |
- 1.16.x | |
os: | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Go modules vendor | |
run: go mod vendor | |
- name: Run tests | |
run: go test ./... | |
test-compiles: | |
strategy: | |
matrix: | |
go-version: | |
- 1.16.x | |
os: | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Go modules vendor | |
run: go mod vendor | |
- name: Ensure Version Runs | |
run: go run main.go -v |