Update .goreleaser.yml #224
Workflow file for this run
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: Go Tests | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: Go | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' | |
cache: true | |
- name: Setup Wails | |
run: make wails && wails doctor | |
- name: Install Linux dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo sed -i 's/htt[p|ps]:\/\/azure.archive.ubuntu.com\/ubuntu\//https:\/\/mirror.bytemark.co.uk\/ubuntu\//g' /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev | |
- name: Wails Build | |
run: make build | |
- name: Run Go tests | |
run: make test-go |