Skip to content

Fix typo in README.md #441

Fix typo in README.md

Fix typo in README.md #441

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
name: Test
env:
DISPLAY: ':99.0'
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libgl1-mesa-dev xorg-dev libgl-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
- name: Xvfb
run: |
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Check out code
uses: actions/checkout@v3
- name: Cache Go modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: |
go test -v -coverprofile="coverage.txt" -covermode=atomic ./...