Skip to content

Bump fyne.io/fyne/v2 from 2.4.1 to 2.4.2 #82

Bump fyne.io/fyne/v2 from 2.4.1 to 2.4.2

Bump fyne.io/fyne/v2 from 2.4.1 to 2.4.2 #82

Workflow file for this run

on: [push, pull_request]
name: tests
env:
GO111MODULE: on
jobs:
linux:
strategy:
matrix:
go-version: [1.x]
runs-on: ubuntu-latest
steps:
- name: Perform updates
run: sudo apt-get update
- name: Get GLFW dependencies - https://github.com/go-gl/glfw/blob/master/README.md
run: sudo apt-get install -y libgl1-mesa-dev xorg-dev
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
# - name: Cache go modules
# uses: actions/cache@preview
# with:
# path: ~/go/pkg/mod
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
# restore-keys: ${{ runner.os }}-go-
- name: Run go fmt
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: Ensure go generate produces a zero diff
run: go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code)
- name: Run go vet
run: go vet ./...
- name: Run go test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...