This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
Bump golang.org/x/net from 0.8.0 to 0.17.0 #154
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: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.20 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- name: Test & Vet | |
run: make test vet | |
- name: Build | |
run: | | |
GOOS=linux make build-octorpki | |
GOOS=darwin make build-octorpki | |
GOOS=windows EXTENSION=.exe make build-octorpki | |
- name: Install fpm | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y rpm ruby ruby-dev | |
sudo gem install fpm | |
- name: Package | |
run: make package-deb-octorpki package-rpm-octorpki | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dist | |
path: dist/* | |
retention-days: 14 |