Skip to content

Bump golang.org/x/crypto from 0.17.0 to 0.31.0 #6

Bump golang.org/x/crypto from 0.17.0 to 0.31.0

Bump golang.org/x/crypto from 0.17.0 to 0.31.0 #6

Workflow file for this run

name: Go
on:
push:
tags:
- "*"
pull_request:
branches: [main]
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Build
run: bash build-all.sh ${{ steps.get_version.outputs.VERSION }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
builds/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}