File: ci.yaml

package info (click to toggle)
golang-github-fluent-fluent-logger-golang 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates, forky, sid, trixie
  • size: 208 kB
  • sloc: makefile: 4
file content (34 lines) | stat: -rw-r--r-- 860 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: ci

on:
  pull_request:
    branches: '*'
  push:
    branches:
      - master
      - main
      - 'release-*'

jobs:
  test:
    strategy:
      matrix:
        os: [ubuntu, macos, windows]
        golang: ['1.13', '1.16', '1.17']
        # currently, we cannot run non-x86_64 machines on Github Actions cloud env.
    runs-on: ${{ matrix.os }}-latest
    name: CI golang ${{ matrix.golang }} on ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.golang }}
      - name: Change GO11MODULES
        run: go env -w GO111MODULE=auto
      - name: Install requirements
        run: |
          go get github.com/bmizerany/assert
          go get github.com/philhofer/fwd
          go get github.com/tinylib/msgp
      - name: Test
        run: go test -v ./fluent