From 8d32eb0878b951e713150fd22950098252c66469 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+BiSaXa@users.noreply.github.com> Date: Sat, 27 Aug 2022 23:49:04 +0300 Subject: Update and rename go-windows-amd64.yml to CI.yml --- .github/workflows/CI.yml | 27 +++++++++++++++++++++++++++ .github/workflows/go-windows-amd64.yml | 23 ----------------------- 2 files changed, 27 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/CI.yml delete mode 100644 .github/workflows/go-windows-amd64.yml 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 @@ +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 . diff --git a/.github/workflows/go-windows-amd64.yml b/.github/workflows/go-windows-amd64.yml deleted file mode 100644 index 1fcecfe..0000000 --- a/.github/workflows/go-windows-amd64.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Golang Windows amd64 - -on: - push: - branches: [ "main" ] - 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 . -- cgit v1.2.3