File: go.yml

package info (click to toggle)
golang-github-coreos-vcontext 0.0~git20210903.c22998b-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: sh: 8; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 628 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
name: Go

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

permissions:
  contents: read

jobs:
  test-build:
    name: Test build
    strategy:
      matrix:
        go-version: [1.15.x, 1.16.x, 1.17.x]
    runs-on: ubuntu-latest
    steps:
    - name: Set up Go 1.x
      uses: actions/setup-go@v2
      with:
        go-version: ${{ matrix.go-version }}
    - name: Check out repository
      uses: actions/checkout@v2
    - name: Run tests
      run: ./test
    - name: Run linter
      uses: golangci/golangci-lint-action@v2
      with:
        version: v1.42.0
        args: -E=gofmt --timeout=30m0s