Update resource_device_service.go to fix audio rdp options #160
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: [push, pull_request] | |
jobs: | |
build-1_22: | |
name: Build 1.22 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.22 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
cache: false | |
id: go | |
- name: Disable cgo | |
run: | | |
echo "CGO_ENABLED=0" >> $GITHUB_ENV | |
- name: Show version | |
run: go version | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: go build -v . | |
build-1_23: | |
name: Build 1.23 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
check-latest: true | |
cache: false | |
id: go | |
- name: Disable cgo | |
run: | | |
echo "CGO_ENABLED=0" >> $GITHUB_ENV | |
- name: Show version | |
run: go version | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: go build -v . | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
check-latest: true | |
cache: false | |
id: go | |
- name: Disable cgo | |
run: | | |
echo "CGO_ENABLED=0" >> $GITHUB_ENV | |
- name: Show version | |
run: go version | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: go test -v ./... |