use syscall.EADDRINUSE to check if port is in use #542
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: Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: WillAbides/[email protected] | |
id: setup-go-faster | |
with: | |
go-version: "*" | |
- name: Install xorg-dev | |
run: sudo apt update && sudo apt install xorg-dev | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |