Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

release: 0.14.1

release: 0.14.1 #34

Workflow file for this run

name: Test (Go)
on:
push:
branches: [ release, next ]
pull_request:
branches: [ release, next ]
permissions:
contents: read
env:
DYLD_LIBRARY_PATH: /usr/local/lib
CGO_CFLAGS: -I/usr/local/include
CGO_LDFLAGS: -L/usr/local/lib
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
cache: false
- run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
sudo cmake --install build
- if: matrix.os == 'ubuntu-latest'
run: sudo ldconfig
- run: go test -race -v -timeout 30s
working-directory: watcher-go
- uses: golangci/golangci-lint-action@v9
with:
version: latest
working-directory: watcher-go