Skip to content

Merge pull request #34 from eosswedenorg/dependabot/go_modules/github… #329

Merge pull request #34 from eosswedenorg/dependabot/go_modules/github…

Merge pull request #34 from eosswedenorg/dependabot/go_modules/github… #329

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: ["1.21"]
arch: [ 386, amd64 ]
runs-on: ubuntu-latest
name: Test (${{matrix.arch}} go v${{ matrix.go-version }})
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: GOARCH=${{matrix.arch}} go test -v ./...
- name: Test API
run: cd api; GOARCH=${{matrix.arch}} go test -v ./...
test-alpine:
strategy:
fail-fast: false
matrix:
tag: [ "1.21-alpine3.19"]
runs-on: ubuntu-latest
name: Test alpine (${{ matrix.tag }})
container:
image: golang:${{ matrix.tag }}
steps:
- uses: actions/checkout@v4
- name: Test
run: go test -v ./...
- name: Test API
run: cd api; go test -v ./...