Skip to content

Bump golang.org/x/sys from 0.0.0-20220114195835-da31bd327af9 to 0.26.0 in /cmd/otelcorecol #435

Bump golang.org/x/sys from 0.0.0-20220114195835-da31bd327af9 to 0.26.0 in /cmd/otelcorecol

Bump golang.org/x/sys from 0.0.0-20220114195835-da31bd327af9 to 0.26.0 in /cmd/otelcorecol #435

name: build-and-test-windows
on:
push:
branches: [ main ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
pull_request:
jobs:
windows-unittest:
runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Go
uses: actions/[email protected]
with:
go-version: 1.17
- name: Setup Go Environment
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- name: Cache Go
uses: actions/cache@v2
env:
cache-name: cache-go-modules
with:
path: |
\Users\runneradmin\go\pkg\mod
%LocalAppData%\go-build
key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('./go.mod', '**/go.sum') }}
- name: Run Unit tests
run: go test ./...