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

drop Go 1.15 #368

Merged
merged 2 commits into from
Nov 11, 2022
Merged
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
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