aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/CI.yml
blob: 04d24faac7220e9c0715de806d25ec27a8d56f7e (plain) (blame)
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
name: CI

on:
  push:
    branches: [ "main" ]
    paths-ignore:
      - '.github/*'
      - '.gitignore'
      - '**.md'
      - 'LICENSE'
  pull_request:
    branches: [ "main" ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    
    - name: Setup Go environment
      uses: actions/setup-go@v3.3.0
      with:
        go-version: 1.18
        architecture: amd64

    - name: Build
      run: env GOOS=windows GOARCH=amd64 go build .