Skip to content

Bump golang.org/x/net from 0.0.0-20210805182204-aaa1db679c0d to 0.9.0 #38

Bump golang.org/x/net from 0.0.0-20210805182204-aaa1db679c0d to 0.9.0

Bump golang.org/x/net from 0.0.0-20210805182204-aaa1db679c0d to 0.9.0 #38

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CICD
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
# tags:
# - v*
branches-ignore:
- 'mona/octocat'
pull_request:
branches:
- mainXXX
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# The "build" workflow
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository and submodules
uses: actions/checkout@v2
# Setup Go
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.18' # The Go version to download (if necessary) and use.
- name: gofmt
run: if [ "$(go run mvdan.cc/gofumpt@latest -l . | wc -l)" -gt 0 ]; then go run mvdan.cc/gofumpt@latest -l . ; exit 1; fi
# fix with: go run mvdan.cc/gofumpt@latest -s -w ./
# Install all the dependencies
- name: Install dependencies
run: |
go get -u golang.org/x/lint/golint
- name: Run coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2