build(deps): bump golang.org/x/net from 0.0.0-20201202161906-c7110b5ffcbb to 0.7.0 #416
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
# This workflow will run on master branch and on any pull requests targeting master | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
golangci: | |
name: golangci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.54 | |
test: | |
name: Test and Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.18 | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Run Unit tests | |
run: make test-coverage | |
- name: Upload Coverage report to CodeCov | |
uses: codecov/[email protected] | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
file: ./coverage.txt | |
# test-macos: | |
# name: Test MacOS | |
# runs-on: macos-11 | |
# steps: | |
# - name: Set up Go | |
# uses: actions/setup-go@v1 | |
# with: | |
# go-version: 1.16 | |
# | |
# - name: Check out code | |
# uses: actions/checkout@v1 | |
# | |
# - name: Run Unit tests. | |
# run: make test | |
# | |
# test-windows: | |
# name: Test Windows | |
# runs-on: windows-2019 | |
# steps: | |
# - name: Set up Go | |
# uses: actions/setup-go@v1 | |
# with: | |
# go-version: 1.16 | |
# | |
# - name: Check out code | |
# uses: actions/checkout@v1 | |
# | |
# - name: Run Unit tests. | |
# run: make test | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [golangci, test] | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.18 | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Build | |
run: make build |