Bump golang.org/x/crypto from 0.10.0 to 0.12.0 #388
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: Go | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
check-latest: true | |
- name: Go modules cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Build | |
run: go build -v ./... | |
- name: Build windows | |
run: GOOS=windows GOARCH=amd64 go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
integration: | |
strategy: | |
matrix: | |
image: | |
- quay.io/footloose/ubuntu18.04 | |
- quay.io/footloose/centos7 | |
# - quay.io/footloose/amazonlinux2 ( not recognized ) | |
- quay.io/footloose/debian10 | |
# - quay.io/footloose/fedora29 ( not recognized ) | |
needs: build | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
check-latest: true | |
- name: install test dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install expect | |
- name: Run integration tests | |
env: | |
LINUX_IMAGE: ${{ matrix.image }} | |
run: make -C test test | |