Skip to content

Commit

Permalink
[-] use go 1.23 on github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkamalesh committed Oct 4, 2024
1 parent 1ff99d4 commit 4a6d291
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"

- name: Build
run: go build -v ./...
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
- name: Test
run: go test -v ./...
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/naughtygopher/incache

go 1.20
go 1.23

require (
github.com/hashicorp/golang-lru/v2 v2.0.7
Expand Down

0 comments on commit 4a6d291

Please sign in to comment.