diff options
| author | Arda Serdar Pektezol <1669855+BiSaXa@users.noreply.github.com> | 2022-08-27 23:49:04 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-27 23:49:04 +0300 |
| commit | 8d32eb0878b951e713150fd22950098252c66469 (patch) | |
| tree | 57d117733e8c8159492232fd4312d181d94317d0 /.github/workflows/CI.yml | |
| parent | Create go-windows-amd64.yml (diff) | |
| download | sdp.go-8d32eb0878b951e713150fd22950098252c66469.tar.gz sdp.go-8d32eb0878b951e713150fd22950098252c66469.tar.bz2 sdp.go-8d32eb0878b951e713150fd22950098252c66469.zip | |
Update and rename go-windows-amd64.yml to CI.yml
Diffstat (limited to '.github/workflows/CI.yml')
| -rw-r--r-- | .github/workflows/CI.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..04d24fa --- /dev/null +++ b/.github/workflows/CI.yml | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | name: CI | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ "main" ] | ||
| 6 | paths-ignore: | ||
| 7 | - '.github/*' | ||
| 8 | - '.gitignore' | ||
| 9 | - '**.md' | ||
| 10 | - 'LICENSE' | ||
| 11 | pull_request: | ||
| 12 | branches: [ "main" ] | ||
| 13 | |||
| 14 | jobs: | ||
| 15 | build: | ||
| 16 | runs-on: ubuntu-latest | ||
| 17 | steps: | ||
| 18 | - uses: actions/checkout@v3 | ||
| 19 | |||
| 20 | - name: Setup Go environment | ||
| 21 | uses: actions/setup-go@v3.3.0 | ||
| 22 | with: | ||
| 23 | go-version: 1.18 | ||
| 24 | architecture: amd64 | ||
| 25 | |||
| 26 | - name: Build | ||
| 27 | run: env GOOS=windows GOARCH=amd64 go build . | ||