go: bump golang.org/x/crypto from 0.16.0 to 0.21.0 #372
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: Tests | |
on: [push, pull_request] | |
env: | |
GOPROXY: https://proxy.golang.org | |
jobs: | |
lint-text: | |
name: lint-text | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: Setup tools | |
run: | | |
make tools | |
- name: make lint-text | |
run: | | |
make lint-text | |
lint-go: | |
name: lint-go | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: Setup tools | |
run: | | |
make tools | |
- name: make lint-go | |
run: | | |
# Explicitly set GOROOT to avoid golangci-lint/issues/3107 | |
GOROOT=$(go env GOROOT) | |
export GOROOT | |
make lint-go | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: Setup tools | |
run: | | |
make tools | |
- name: make test | |
run: | | |
make test |