Bump go.step.sm/crypto from 0.25.1 to 0.34.0 #321
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.18 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: go mod download | |
- name: Run tests | |
run: GODEBUG=x509sha1=1 go test -v ./... | |
- name: Build binaries | |
run: go build -o . ./... | |
- name: Run integration tests | |
run: GODEBUG=x509sha1=1 go test -v -tags=integration ./... | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
# Exclude deprecated PEM functions from the linter until | |
# https://github.com/square/certstrap/issues/124 is resolved | |
args: --exclude '(De|En)cryptPEMBlock' | |
build-windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.17 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: go mod download | |
- name: Run tests | |
run: | | |
set GODEBUG=x509sha1=1 | |
go test -v ./... | |
- name: Build binaries | |
run: go build -o . ./... | |
- name: Run integration tests | |
run: | | |
set GODEBUG=x509sha1=1 | |
go test -v -tags=integration ./... |