Skip to content

Bump golang.org/x/crypto #90

Bump golang.org/x/crypto

Bump golang.org/x/crypto #90

Workflow file for this run

name: Branch build
on:
push:
branches-ignore:
- master
- 'test-*'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
go-version: [1.18]
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Cache go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Install windows build helpers
if: startsWith(matrix.os, 'windows')
run: choco install mingw
- name: Get GOCACHE
shell: bash
run: go run github.com/erkkah/bygg gocache >> $GITHUB_ENV
- name: Cache go build cache
uses: actions/cache@v3
with:
path: ${{ env.GOCACHE }}
key: ${{ runner.os }}-gocache-${{ hashFiles('go.sum') }}
restore-keys: ${{ runner.os }}-gocache-
- name: Build
run: go generate
- name: Test
run: go run github.com/erkkah/bygg test