Skip to content

update vulnerable dependencies and use std error.Join (#9) #38

update vulnerable dependencies and use std error.Join (#9)

update vulnerable dependencies and use std error.Join (#9) #38

Workflow file for this run

name: test
on:
push:
tags: [v\d+.\d+.\d+]
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Tools bin cache
uses: actions/cache@v3
with:
path: .bin
key: ${{ runner.os }}-${{ hashFiles('Makefile') }}
- name: Install jq
uses: dcarbone/[email protected]
- name: Test
run: make ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true
verbose: true