reset mod #39
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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
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' | |
- 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' |