Skip to content

Merge pull request #1871 from xushiwei/q #2599

Merge pull request #1871 from xushiwei/q

Merge pull request #1871 from xushiwei/q #2599

Workflow file for this run

name: Go+ CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check goreleaser files
run: |
pip install --no-input pyyaml
python .github/workflows/check_goreleaser_config.py
Test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
go:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test Go+ installer
run: |
git config --global user.email "build-robot@goplus.org"
git config --global user.name "build robot"
go test -v cmd/make_test.go
- name: Run testcases
run: go test -v -coverprofile="coverage.txt" -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: goplus/gop