Skip to content

chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 (#1111) #923

chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 (#1111)

chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 (#1111) #923

Workflow file for this run

name: ci-build
on:
push:
branches:
- master
tags-ignore:
- '*.*'
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.18.x,1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest]
name: Test ${{ matrix.os }} with Go ${{ matrix.go-version }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles ('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Verify parser
if: runner.os == 'Linux'
run: |
make verify-parser
- name: Build
run: |
make build
- name: Test
run: |
make test-with-coverage
- name: Codecov
if: runner.os == 'Linux'
uses: codecov/codecov-action@v3
with:
# Path to coverage file to upload
file: coverprofile.out
golangci:
name: Lint with Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.18.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: -c .golangci.yml