Skip to content

Bump golang.org/x/net from 0.17.0 to 0.23.0 (#19) #31

Bump golang.org/x/net from 0.17.0 to 0.23.0 (#19)

Bump golang.org/x/net from 0.17.0 to 0.23.0 (#19) #31

Workflow file for this run

name: Build go app
on:
push:
branches:
- main
- develop
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.19' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: "All updates"
run: sudo apt-get update && sudo apt-get -y upgrade
# Install all the dependencies
- name: Install dependencies
run: |
go version
go get -u golang.org/x/lint/golint
- name: Run build
run: GOFLAGS=-mod=mod go build -o bin/npv main.go
- name: Run the app
run: sudo go run ./main.go run single 1.1.1.1