Skip to content

Commit

Permalink
Update github actions setup-go@v4 -> setup-go@v5
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <dusan@dusanmalusev.dev>
  • Loading branch information
CodeLieutenant committed Apr 23, 2024
1 parent 9cb8972 commit cd91e46
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Testing'
name: "Testing"

on:
workflow_call:
Expand All @@ -19,26 +19,20 @@ jobs:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- '5672:5672'
- "5672:5672"

strategy:
matrix:
os: ['ubuntu-latest']
go: [ '1.22' ]
os: ["ubuntu-latest"]
go: ["1.22"]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-tests-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-tests-${{ hashFiles('**/go.sum') }}
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Install Task
Expand All @@ -54,4 +48,4 @@ jobs:
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: nano-interactive/go-amqp
slug: nano-interactive/go-amqp

0 comments on commit cd91e46

Please sign in to comment.