Skip to content

Bump golang.org/x/crypto from 0.43.0 to 0.45.0 #20

Bump golang.org/x/crypto from 0.43.0 to 0.45.0

Bump golang.org/x/crypto from 0.43.0 to 0.45.0 #20

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "master" ]
tags:
- 'v*'
pull_request:
branches: [ "master" ]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Test
run: go test -v ./...
build:
needs: test
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Linux builds
- goos: linux
goarch: amd64
- goos: linux
goarch: arm64
- goos: linux
goarch: arm
goarm: 7
# Windows builds
- goos: windows
goarch: amd64
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
GOARM: ${{ matrix.goarm }}
run: |
if [ "${{ matrix.goarm }}" != "" ]; then
OUTPUT_NAME=signify-gzip-${{ matrix.goos }}-${{ matrix.goarch }}v${{ matrix.goarm }}
else
OUTPUT_NAME=signify-gzip-${{ matrix.goos }}-${{ matrix.goarch }}
fi
if [ "${{ matrix.goos }}" = "windows" ]; then
OUTPUT_NAME="${OUTPUT_NAME}.exe"
fi
go build -v -o "$OUTPUT_NAME" .
ls -lh "$OUTPUT_NAME"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: signify-gzip-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm && format('v{0}', matrix.goarm) || '' }}
path: signify-gzip-*
- name: Upload to release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: signify-gzip-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}