Skip to content

Commit

Permalink
Updated github actions to go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
SlyngDK committed Oct 22, 2024
1 parent 22cef5b commit 29b8cca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gofmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.21
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.23
id: go

- name: Check out code into the Go module directory
Expand All @@ -26,9 +26,9 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gofmt1.21-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-gofmt1.23-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gofmt1.21-
${{ runner.os }}-gofmt1.23-
- name: gofmt
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
name: Build Linux All
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.23

- name: Checkout code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.21
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.23
id: go

- name: Check out code into the Go module directory
Expand All @@ -30,9 +30,9 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go1.21-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go1.23-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go1.21-
${{ runner.os }}-go1.23-
- name: Build
run: make all -B
Expand Down

0 comments on commit 29b8cca

Please sign in to comment.