remove global signal and closure maps in favor of runtime/cgo.Handle #25
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: Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
setup: | |
name: Tests on codebase | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup GStreamer | |
id: setup_gstreamer | |
uses: blinemedical/[email protected] | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "stable" | |
- name: Check formatting | |
uses: Jerome1337/[email protected] | |
with: | |
gofmt-flags: "-l -d" | |
- name: Check spellings | |
uses: reviewdog/action-misspell@v1 | |
with: | |
locale: "US" | |
fail_on_error: true | |
filter_mode: nofilter | |
ignore: "cancellable,cancelled" # needs to be ignored because glib has a function called cancellable | |
- uses: dominikh/[email protected] | |
with: | |
install-go: false |