Skip to content

chore(deps): bump github.com/prometheus/common from 0.37.0 to 0.50.0 … #83

chore(deps): bump github.com/prometheus/common from 0.37.0 to 0.50.0 …

chore(deps): bump github.com/prometheus/common from 0.37.0 to 0.50.0 … #83

Workflow file for this run

name: Golang CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
strategy:
matrix:
go-version: [ 1.18 ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Cache Go
uses: actions/cache@v2
with:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
'%LocalAppData%\go-build'
- name: Test Go
run: go test ./...
- name: Build Go
run: |
go build -o bin/grafana-plot cmd/grafana-plot/main.go
go build -o bin/prometheus-plot cmd/prometheus-plot/main.go
- name: Upload Go Binary
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-app
path: bin/*-plot
if-no-files-found: error