diff --git a/.appveyor.yml b/.appveyor.yml.old similarity index 100% rename from .appveyor.yml rename to .appveyor.yml.old diff --git a/.github/workflows/test-macos-go.yml b/.github/workflows/test-macos-go.yml new file mode 100644 index 0000000..c8d43b2 --- /dev/null +++ b/.github/workflows/test-macos-go.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] +name: Test macOS +jobs: + test: + strategy: + matrix: + go-version: ["1.14", "1.x"] + os: [macos-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Environment + run: | + echo GIT_VERSION=$(git describe --tags) >> $GITHUB_ENV + - name: Test + run: GO111MODULE=on go test -v ./... diff --git a/.github/workflows/test-windows-go.yml b/.github/workflows/test-windows-go.yml new file mode 100644 index 0000000..30be7c0 --- /dev/null +++ b/.github/workflows/test-windows-go.yml @@ -0,0 +1,26 @@ +on: [push, pull_request] +name: Test Windows +jobs: + test: + strategy: + matrix: + go-version: ["1.14", "1.x"] + os: [windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Environment + run: | + echo GIT_VERSION=$(git describe --tags) >> $GITHUB_ENV + - name: Test + env: + CGO_ENABLED: 1 + GO111MODULE: "on" + run: go test -v ./... diff --git a/.travis.yml b/.travis.yml.old similarity index 100% rename from .travis.yml rename to .travis.yml.old