refactor: upgrade to gioui.org@v0.7.0 #92
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: ci | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.0 | |
- name: Install Gio Dependencies | |
run: | | |
sudo apt update | |
sudo apt install gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev | |
- run: go install golang.org/x/tools/cmd/goimports@latest | |
- run: go install honnef.co/go/tools/cmd/staticcheck@latest | |
- run: go install mvdan.cc/gofumpt@latest | |
- name: Format and check | |
run: | | |
goimports -w . | |
gofumpt -w . | |
if [ -n "$(git diff)" ]; then | |
git diff | |
exit 1 | |
fi | |
- run: go build -v ./... | |
- run: go test -v ./... | |
- run: go vet -v ./... | |
- run: staticcheck ./... |