Skip to content

update to use go1.21 in CI #57

update to use go1.21 in CI

update to use go1.21 in CI #57

Workflow file for this run

name: windows
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
go-version: [1.21.x]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout code
uses: actions/checkout@v3
with:
path: github.com/vanadium/go.lib
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: github.com/vanadium/go.lib/go.sum
- name: Test
run: |
cd github.com/vanadium/go.lib
go test --race --covermode=atomic ./...