Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use standard library embed #181

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 7 additions & 20 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ 1.16.x, 1.15.x, 1.14.x, 1.13.x, 1.12.x, 1.11.x, 1.10.x, 1.9.x ]
env:
GOPATH: ${{ github.workspace }}
GO111MODULE: auto
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/cweill/gotests
go: [ 1.16.x, 1.19.x, 1.20.x ]
steps:

- name: Check out code
uses: actions/checkout@v3

- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

- name: Check out code
uses: actions/checkout@v2
with:
path: ${{ env.GOPATH }}/src/github.com/cweill/gotests

- name: Get Dependencies (github.com/golang.org/x/tools/imports)
run: go get -v ./...

- name: Test
run: |
go test -v ./...

- name: Coverage Dependencies
if: matrix.go == '1.16.x'
run: |
go get github.com/mattn/goveralls
go get -v ./...

go install github.com/mattn/goveralls@latest

- name: Coverage Reporting Generation
if: matrix.go == '1.16.x'
Expand All @@ -54,6 +41,6 @@ jobs:

- name: Coverage - Sending Report to Coveral
if: matrix.go == '1.16.x'
run: $GOPATH/bin/goveralls -coverprofile=coverage.cov -service=github
run: goveralls -coverprofile=coverage.cov -service=github
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The following shows `gotests` in action using the [official Sublime Text 3 plugi

## Installation

__Minimum Go version:__ Go 1.6
__Minimum Go version:__ Go 1.16

Use [`go get`](https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies) to install and update:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/cweill/gotests

require golang.org/x/tools v0.0.0-20191109212701-97ad0ed33101

go 1.6
go 1.16
7 changes: 0 additions & 7 deletions internal/render/README.md

This file was deleted.

Loading