Working app list #10
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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.2' | |
- name: Update package cache | |
run: sudo apt update | |
- name: Install dependencies | |
run: sudo apt install -y libgtk-3-dev libcairo2-dev libglib2.0-dev libgtk-layer-shell0 | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4.6.0 | |
with: | |
# Artifact name | |
name: build | |
# A file, directory or wildcard pattern that describes what to upload | |
path: desktop | |
# The desired behavior if no files are found using the provided path. | |