Update GitHub workflow
Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
This commit is contained in:
parent
99407347ff
commit
f4b036339e
|
|
@ -2,8 +2,6 @@ name: PR Build
|
|||
on:
|
||||
pull_request: {}
|
||||
workflow_dispatch: {}
|
||||
env:
|
||||
GO_VERSION: 1.23
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
|
@ -29,11 +27,13 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
cache: true
|
||||
cache-dependency-path: go.sum
|
||||
go-version-file: go.mod
|
||||
- name: Run unit tests
|
||||
run: make test
|
||||
|
||||
|
|
@ -46,4 +46,3 @@ jobs:
|
|||
steps:
|
||||
- name: Shout it out
|
||||
run: echo SUCCESS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue