File: ci.yaml

package info (click to toggle)
golang-github-itchyny-go-flags 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 444 kB
  • sloc: sh: 17; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 448 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
name: CI

on: [push, pull_request]

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@master
    - name: Setup Go
      uses: actions/setup-go@v1
      with:
        go-version: 1.x
    - name: Add $GOPATH/bin to $PATH
      run: echo "::add-path::$(go env GOPATH)/bin"
    - name: Test
      run: go test -v ./...
    - name: Cross compile
      run: ./check_crosscompile.sh