Skip to content

Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.17.0 #122

Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.17.0

Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.17.0 #122

Workflow file for this run

name: CI
on:
push:
branches:
- master
- release*
pull_request:
branches:
- master
- release*
env:
# Common versions
GO_VERSION: '1.18'
GOLANGCI_VERSION: 'v1.51'
jobs:
golangci-lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: Cache Go Dependencies
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Lint golang code
uses: golangci/[email protected]
with:
version: ${{ env.GOLANGCI_VERSION }}
args: --verbose
build-and-test:
name: ci-build
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
run: |
make build
- name: Test
run: |
make test