Skip to content

chore(deps): update golang docker tag to v1.21 #690

chore(deps): update golang docker tag to v1.21

chore(deps): update golang docker tag to v1.21 #690

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
name: Go Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # windows-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw
- name: Install Prometheus Tools
run: make install
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
- name: Check
env:
COVER_THRESHOLD: 85.0
run: make check
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: "go-tooling-reports.zip"
path: |
./**/coverage.txt
./**/mem.out
./**/cpu.out
- name: Tests
run: make test
- name: Upload Code Coverage
if: runner.os == 'Linux'
run: bash <(curl -s https://codecov.io/bash)