Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v5
- name: go fmt ./... (go version ${{ matrix.go-version }})
run: test -z "$(go fmt ./...)"
run: go fmt ./...; git status && git diff --exit-code
- name: go test -tags goolm ./... (go version ${{ matrix.go-version }})
run: go test -tags goolm ./...
build-upload:
Expand All @@ -72,8 +72,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v5
- name: Build/upload matterbridge for ${{ matrix.platform.goos }}-${{ matrix.arch }}
env:
GOOS: ${{ matrix.platform.goos }}
GOARCH: ${{ matrix.arch }}
run: |
CGO_ENABLED=0 GOOS=${{ matrix.platform.goos }} GOARCH=${{ matrix.arch }} go build -tags goolm -ldflags "-s -X github.com/matterbridge-org/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o matterbridge
Comment thread
poVoq marked this conversation as resolved.
CGO_ENABLED=0 go build -tags goolm -ldflags "-s -X github.com/matterbridge-org/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o matterbridge
- name: Upload matterbridge-${{ matrix.name }}-${{ matrix.arch }}
uses: actions/upload-artifact@v4
with:
Expand Down
Loading