Skip to content

Commit

Permalink
update worflows to use newer go version and trigger mainbuild for rel…
Browse files Browse the repository at this point in the history
…ease branch (#290)
  • Loading branch information
Kausik-A authored Sep 7, 2022
1 parent ffccb23 commit 91efcf0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
go-version: '^1.19.1'
- uses: actions/setup-java@v2
if: ${{ matrix.language == 'java' }}
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main-build-python38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Python38 Layer Integration Test
# This workflow is for verifying python3.9 layer in Lambda python3.8 environment
on:
push:
branches: [ main ]
branches:
- main
- release/*
workflow_dispatch:

jobs:
Expand All @@ -17,9 +19,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
go-version: '^1.19.1'
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Main Build

on:
push:
branches: [ main ]
branches:
- main
- release/*
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -37,9 +39,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
go-version: '^1.19.1'
- uses: actions/setup-java@v2
if: ${{ matrix.language == 'java' }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
go-version: '^1.19.1'
- uses: actions/setup-java@v2
if: ${{ matrix.language == 'java' }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,13 @@ jobs:
# with:
# dotnet-version: '3.1.x'
- name: Use Go Language
uses: actions/setup-go@v2
uses: actions/setup-go@v3
# NOTE: (enowell) In case the languages below need to build the
# collector, and because building the collector requires go 1.18 and
# above, always setup go 1.18.
# if: ${{ env.TEST_LANGUAGE == 'go' }}
with:
go-version: '^1.18'
go-version: '^1.19.1'
- name: download layer tf file
uses: actions/download-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/soaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
go-version: '^1.19.1'
- uses: actions/setup-java@v2
if: ${{ matrix.language == 'java' }}
with:
Expand Down

0 comments on commit 91efcf0

Please sign in to comment.