File: workflow.yml

package info (click to toggle)
golang-github-vmware-vmw-guestinfo 0.0~git20220317.510905f-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 220 kB
  • sloc: asm: 164; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 583 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
name: build-test
on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master
jobs:
  ci:
    name: go${{ matrix.go_version }}/${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        go_version: ['1.16','1.17']
        os: [ubuntu-latest]
    steps:
    - name: Use Go ${{ matrix.go_version }}
      uses: actions/setup-go@v2
      with:
        go-version: ${{ matrix.go_version }}
    - name: Check out code into the Go module directory
      uses: actions/checkout@v2.3.4
    - name: run tests
      run: |
        go test ./...