Skip to content

Commit 7cdac3f

Browse files
authored
Merge pull request #87 from shogo82148/drop-support-of-go1.10
drop support of Go 1.10
2 parents cab805b + cf4619f commit 7cdac3f

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,48 +28,36 @@ jobs:
2828
- "1.13"
2929
- "1.12"
3030
- "1.11"
31-
- "1.10"
32-
- "1.9"
33-
- "1.8"
3431

3532
steps:
33+
- name: Check out code into the Go module directory
34+
uses: actions/checkout@v3
35+
3636
- name: Set up Go ${{ matrix.go }}
3737
uses: actions/setup-go@v4
3838
with:
3939
go-version: ${{ matrix.go }}
40-
id: go
41-
- run: |
42-
go version
43-
echo GOPATH="$GITHUB_WORKSPACE" >> "$GITHUB_ENV"
44-
shell: bash
45-
46-
- name: Check out code into the Go module directory
47-
uses: actions/checkout@v3
48-
with:
49-
path: src/github.com/shogo82148/go-sql-proxy
5040

5141
- name: Test
5242
run: go test -v -coverprofile=coverage.txt .
53-
env:
54-
GO111MODULE: "on"
5543
shell: bash
56-
working-directory: src/github.com/shogo82148/go-sql-proxy
5744

5845
- name: Send coverage to coveralls.io
5946
uses: shogo82148/actions-goveralls@v1
6047
with:
6148
path-to-profile: coverage.txt
6249
parallel: true
63-
working-directory: src/github.com/shogo82148/go-sql-proxy
6450
flag-name: ${{ matrix.os }}-Go-${{ matrix.go }}
51+
6552
- name: Send coverage to codecov.io
6653
uses: codecov/codecov-action@v3
6754
with:
6855
env_vars: OS,GO
69-
root_dir: src/github.com/shogo82148/go-sql-proxy
56+
root_dir: .
7057
env:
7158
OS: ${{ matrix.os }}
7259
GO: ${{ matrix.go }}
60+
7361
finish:
7462
needs: test
7563
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)