TestMergeHeader #116
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 | |
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.4' | |
- name: Install dependency libraries | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install libgl1-mesa-dev xorg-dev | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
if: github.event_name == 'push' |