Skip to content

Commit

Permalink
Update ci workflow to use go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksraiden committed Jan 3, 2025
1 parent 3362380 commit 8d3a99b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23

- name: Checkout Code Base
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: apache/skywalking-eyes/header@v0.4.0
- uses: apache/skywalking-eyes/header@v0.6.0
with:
config: .github/config/licenserc.yaml

- name: Restore Go Module Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
Expand All @@ -58,22 +58,22 @@ jobs:
needs: [lint]
strategy:
matrix:
go-version: [1.22, stable]
go-version: [1.23, stable]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go-version}}

- name: Checkout Code Base
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Restore Go Module Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
Expand Down

0 comments on commit 8d3a99b

Please sign in to comment.