Skip to content

Commit

Permalink
Merge pull request #368 from shogo82148/drop-go1.15
Browse files Browse the repository at this point in the history
drop Go 1.15
  • Loading branch information
shogo82148 authored Nov 11, 2022
2 parents ab4e65f + 8b1f8b7 commit 2036c63
Showing 1 changed file with 5 additions and 50 deletions.
55 changes: 5 additions & 50 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ jobs:
- "1.18"
- "1.17"
- "1.16"
- "1.15"
- "1.14"
- "1.13"

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

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v3
cache: true

- name: Install Dependencies
run: go mod download
Expand All @@ -41,6 +40,7 @@ jobs:
run: |
make test
make test-xrayaws
make test-xrayaws-v2
shell: bash

- name: Send coverage
Expand All @@ -57,55 +57,10 @@ jobs:
working-directory: xrayaws
parallel: true

test-xrayaws-v2:
name: Go ${{ matrix.go }} AWS SDK v2 Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
go:
- "1"
- "1.19"
- "1.18"
- "1.17"
- "1.16"
- "1.15"
# The v2 SDK requires a minimum version of Go 1.15.

steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v3

- name: Install Dependencies
run: go mod download
shell: bash

- name: Test
run: |
make test-xrayaws-v2
shell: bash

- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
flag-name: OS-${{ matrix.os }}-Go-${{ matrix.go }}-xrayaws-v2
working-directory: xrayaws-v2
parallel: true

# notifies that all test jobs are finished.
finish:
needs:
- test
- test-xrayaws-v2
if: always()
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2036c63

Please sign in to comment.