Skip to content

Commit

Permalink
Merge pull request #4838 from austinvazquez/upgrade-github-actions-pa…
Browse files Browse the repository at this point in the history
…ckages

Upgrade GitHub Actions packages to resolve deprecation warnings
  • Loading branch information
lucix-aws committed Aug 22, 2023
2 parents 6b43f9d + fa816c5 commit dfcabdc
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
- 1.19.x
- 1.20.x
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: Test
shell: bash
# SDK is currently being released with go 1.18, this cannot perform
Expand Down Expand Up @@ -67,16 +67,16 @@ jobs:
- os: macos-latest
go-version: 1.16.x
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: Test
shell: bash
run: make unit-old-go-race-cover
Expand Down Expand Up @@ -106,22 +106,23 @@ jobs:
- os: windows-latest
go-version: 1.12.x
steps:
- name: Setup Go env
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}/go" >> $GITHUB_ENV
echo "${{ github.workspace }}/go/bin" >> $GITHUB_PATH
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
path: go/src/github.com/aws/aws-sdk-go

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false

- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/github.com/aws/aws-sdk-go
- name: Setup Go env
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}/go" >> $GITHUB_ENV
echo "${{ github.workspace }}/go/bin" >> $GITHUB_PATH
- name: Test
shell: bash
Expand Down

0 comments on commit dfcabdc

Please sign in to comment.