mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
ci: run tests with goolm as well
Co-authored-by: Tulir Asokan <tulir@maunium.net> Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
parent
284ab0d62c
commit
a6b4b3bf34
1 changed files with 29 additions and 1 deletions
30
.github/workflows/go.yml
vendored
30
.github/workflows/go.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ["1.21", "1.22"]
|
||||
name: Build ${{ matrix.go-version == '1.22' && '(latest)' || '(old)' }}
|
||||
name: Build (${{ matrix.go-version == '1.22' && 'latest' || 'old' }}, libolm)
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -59,3 +59,31 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
run: go test -json -v ./... 2>&1 | gotestfmt
|
||||
|
||||
build-goolm:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ["1.21", "1.22"]
|
||||
name: Build (${{ matrix.go-version == '1.22' && 'latest' || 'old' }}, goolm)
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go ${{ matrix.go-version }}
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
cache: true
|
||||
|
||||
- name: Set up gotestfmt
|
||||
uses: GoTestTools/gotestfmt-action@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build
|
||||
run: go build -tags=goolm -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -tags=goolm -json -v ./... 2>&1 | gotestfmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue