Skip to content

[ImgBot] Optimize images #165

[ImgBot] Optimize images

[ImgBot] Optimize images #165

Workflow file for this run

name: build
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dev dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
- uses: WillAbides/[email protected]
with:
go-version: '1.19.x'
- name: Generate assets
run: |
go install fyne.io/fyne/v2/cmd/fyne@latest
echo "go generate"
go generate -v ./...
echo "Git status"
git status --short
# Ensure repo clean after go generate
git diff-index --quiet HEAD --
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...