Skip to content

Commit

Permalink
updated version in test workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu219 committed May 5, 2024
1 parent 005f7f8 commit 9ec7851
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,29 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Go environment
uses: actions/setup-go@v2
uses: actions/setup-go@v5

- name: Checking compilation errors while generating image
run: env GOOS=linux go build -o "sumologic-extension" "lambda-extensions/sumologic-extension.go"

test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
go: ['1.21', '1.22']
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Go (version - ${{ matrix.go }})
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Checkout code
uses: actions/checkout@v2

- name: Run Unit Tests
run: go test ./...

0 comments on commit 9ec7851

Please sign in to comment.