Skip to content

build(deps): bump golang.org/x/crypto from 0.1.0 to 0.17.0 #284

build(deps): bump golang.org/x/crypto from 0.1.0 to 0.17.0

build(deps): bump golang.org/x/crypto from 0.1.0 to 0.17.0 #284

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
submodules: recursive
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v ./...
- name: Test with coverage
run: go test -v ./... -coverprofile coverage.txt
- name: Upload Coverage report to CodeCov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.txt
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v3
- name: check
uses: golangci/[email protected]
with:
version: 'v1.52'
only-new-issues: true