Skip to content

Commit

Permalink
fix ep20 refs in GH workflows (#2218)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahvita authored Jul 31, 2023
1 parent 26bf48f commit 5cff0c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 55 deletions.
46 changes: 4 additions & 42 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ jobs:
go-version: [1.19, "1.20"]
steps:
- uses: actions/checkout@v2
with:
path: aws-sdk-go-v2

- name: Checkout smithy-go
uses: actions/checkout@v2
with:
repository: aws/smithy-go
path: smithy-go
ref: ep20

- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -42,7 +33,7 @@ jobs:
run: go install golang.org/x/lint/golint@latest

- name: Test
run: cd aws-sdk-go-v2 && make gen-mod-replace-smithy-. ci-test-no-generate
run: make ci-test-no-generate

deprecated-unix-tests:
needs: unix-tests
Expand All @@ -59,23 +50,14 @@ jobs:
go-version: 1.16
steps:
- uses: actions/checkout@v2
with:
path: aws-sdk-go-v2

- name: Checkout smithy-go
uses: actions/checkout@v2
with:
repository: aws/smithy-go
path: smithy-go
ref: ep20

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

- name: Test
run: cd aws-sdk-go-v2 && make gen-mod-replace-smithy-. ci-test-no-generate
run: make ci-test-no-generate

windows-tests:
name: Windows SDK Tests
Expand All @@ -86,26 +68,16 @@ jobs:
go-version: [1.19, "1.20"]
env:
EACHMODULE_SKIP: "internal\\repotools\\changes"
SMITHY_GO_SRC: ${{ github.workspace }}/smithy-go
steps:
- uses: actions/checkout@v2
with:
path: aws-sdk-go-v2

- name: Checkout smithy-go
uses: actions/checkout@v2
with:
repository: aws/smithy-go
path: smithy-go
ref: ep20

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

- name: Test
run: cd aws-sdk-go-v2 && make gen-mod-replace-smithy-. vet build unit-test
run: make vet build unit-test

deprecated-windows-tests:
needs: windows-tests
Expand All @@ -117,23 +89,13 @@ jobs:
go-version: [1.15, 1.16, 1.17, 1.18]
env:
EACHMODULE_SKIP: "internal\\repotools\\changes"
SMITHY_GO_SRC: ${{ github.workspace }}/smithy-go
steps:
- uses: actions/checkout@v2
with:
path: aws-sdk-go-v2

- name: Checkout smithy-go
uses: actions/checkout@v2
with:
repository: aws/smithy-go
path: smithy-go
ref: ep20

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

- name: Test
run: cd aws-sdk-go-v2 && make gen-mod-replace-smithy-. vet build unit-test
run: make vet build unit-test
15 changes: 2 additions & 13 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,8 @@ jobs:
os: [ubuntu-latest] # other options: macos-latest, windows-latest
steps:
- uses: actions/checkout@v2
with:
path: aws-sdk-go-v2

- name: Checkout smithy-go
uses: actions/checkout@v2
with:
repository: aws/smithy-go
path: smithy-go
ref: ep20

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be
# specified without patch version
Expand All @@ -36,6 +26,5 @@ jobs:
args: --version
# Show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true

- name: run ci linter
run: cd aws-sdk-go-v2 && make gen-mod-replace-smithy-. ci-lint
run: make ci-lint

0 comments on commit 5cff0c4

Please sign in to comment.