Skip to content

chore: update to go 1.22 #140

chore: update to go 1.22

chore: update to go 1.22 #140

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t ./...
- name: Build
run: go build -v ./...
- name: Add quic.clemente.io to /etc/hosts
run: echo "127.0.0.1 quic.clemente.io" | sudo tee -a /etc/hosts
- name: Test
run: go test -v -race -parallel 6 ./...