Skip to content

Commit

Permalink
Merge pull request #21 from Jmainguy/fix
Browse files Browse the repository at this point in the history
chore: add cache to push.yml
  • Loading branch information
Jmainguy committed Mar 18, 2024
2 parents 122c7a9 + 9c55834 commit 5c35e6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
push:
name: push

name: Go Build and Test
jobs:
golangci:
name: golangci
Expand All @@ -18,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.21'
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -37,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.21'
- name: Checkout code
uses: actions/checkout@v4
- name: go build
Expand All @@ -50,7 +51,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.21'
- name: Install golint
run: GO111MODULE=off go get golang.org/x/lint/golint
- name: Checkout code
Expand All @@ -65,7 +66,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.21'
- name: Install golint
run: GO111MODULE=off go get golang.org/x/lint/golint
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jmainguy/soh-router

go 1.20
go 1.21

require (
github.com/ghodss/yaml v1.0.0
Expand Down

0 comments on commit 5c35e6c

Please sign in to comment.