Skip to content

Bump golang.org/x/net from 0.10.0 to 0.17.0 #293

Bump golang.org/x/net from 0.10.0 to 0.17.0

Bump golang.org/x/net from 0.10.0 to 0.17.0 #293

Workflow file for this run

name: Build Server & Test
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
services:
postgres:
image: postgres:alpine
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: passwall
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build and Run Pass-Wall Server
run: |
go build -o passwall ./cmd/passwall-server/main.go
chmod +x ./passwall
./passwall &
#- name: Run Tests
# run: go test -v --race ./...