Skip to content

Bump golang.org/x/net from 0.14.0 to 0.17.0 #775

Bump golang.org/x/net from 0.14.0 to 0.17.0

Bump golang.org/x/net from 0.14.0 to 0.17.0 #775

Workflow file for this run

name: build
on:
push:
branches:
tags:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set up go 1.20
uses: actions/setup-go@v4
with:
go-version: "1.20"
id: go
- name: checkout
uses: actions/checkout@v3
- name: build and test
run: |
chmod 0600 ./pkg/executor/testdata/test_ssh_key
go test -v -timeout=100s -covermode=count -coverprofile=$GITHUB_WORKSPACE/profile.cov_tmp ./...
cat $GITHUB_WORKSPACE/profile.cov_tmp | grep -v "mocks" | grep -v "_mock" > $GITHUB_WORKSPACE/profile.cov
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: install goveralls
run: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.45.0
GO111MODULE=off go get -u -v github.com/mattn/goveralls
- name: submit coverage
run: $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}