Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Bump golang.org/x/net from 0.36.0 to 0.38.0 #240

Bump golang.org/x/net from 0.36.0 to 0.38.0

Bump golang.org/x/net from 0.36.0 to 0.38.0 #240

Workflow file for this run

name: Code Check
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test and coverage
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
id: go
- name: Checkout code
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: go test
run: go test -v -covermode=count -coverprofile=coverage.out ./...
- name: Convert coverage.out to coverage.lcov
uses: jandelgado/gcov2lcov-action@v1.0.9
- name: Coveralls
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
vet:
name: go vet and lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
id: go
- name: Checkout code
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
go install golang.org/x/lint/golint@latest
- name: go vet
run: go vet ./...
- name: go lint
run: golint -set_exit_status ./...
golangci:
name: golangci lint check
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: Checkout code
uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.61.0