Skip to content

Commit

Permalink
build: go 1.23 (#366)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 authored Feb 25, 2025
1 parent b694fcc commit 1d75695
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: go-test
strategy:
matrix:
go-version: [1.22.x, 1.23.x, 1.24.x]
go-version: [1.23.x, 1.24.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This file was copied from the following URL and modified:
# https://github.com/golangci/golangci-lint-action/blob/master/README.md#how-to-use

name: golangci-lint
on:
push:
Expand All @@ -22,11 +19,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: false
go-version: 1.23.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=10m
# Only show new issues in a PR but show all issues for pushes
only-new-issues: ${{ github.event_name == 'pull_request' && 'true' || 'false' }}
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ concurrency: ${{ github.ref }}
jobs:
create-draft-release:
runs-on: ubuntu-latest
permissions:
content: write
outputs:
RELEASE_ID: ${{ steps.create-release.outputs.result }}
steps:
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
fetch-depth: '0'
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Build binary
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
- name: Upload release asset
Expand Down Expand Up @@ -157,6 +159,8 @@ jobs:

finalize-release:
runs-on: ubuntu-latest
permissions:
content: write
needs: [create-draft-release, build-binaries, build-images]
steps:
- uses: actions/github-script@v7
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/blinklabs-io/cardano-up

go 1.22.11
go 1.23.6

require (
github.com/Masterminds/sprig/v3 v3.3.0
Expand Down

0 comments on commit 1d75695

Please sign in to comment.