Skip to content

feat: support go1.24#91

Merged
AsterDY merged 4 commits intomainfrom
feat/go1.24
Mar 10, 2025
Merged

feat: support go1.24#91
AsterDY merged 4 commits intomainfrom
feat/go1.24

Conversation

@AsterDY
Copy link
Collaborator

@AsterDY AsterDY commented Mar 7, 2025

What type of PR is this?

feat

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: support go1.24
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

Comment on lines +7 to +34
strategy:
matrix:
go-version: [1.24.x]
runs-on: [ubuntu-24.04-arm, ubuntu-latest]
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
${{ github.workspace }}/go.sum
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Unit Test
run: |
go test -race ./...

- name: Testdata
run: |
cd testdata/test
go test -race -v ./...

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions
Comment on lines +7 to +30
strategy:
matrix:
go-version: [1.17.x, 1.22.x, 1.23.x, 1.24.x]
os: [ubuntu-24.04-arm, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
${{ github.workspace }}/go.sum
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Unit Test
run: |
go test ./...

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@AsterDY AsterDY merged commit ccd26f6 into main Mar 10, 2025
14 of 16 checks passed
@AsterDY AsterDY deleted the feat/go1.24 branch March 10, 2025 07:40
@caozhuozi
Copy link

😁

khan-yin pushed a commit to khan-yin/dynamicgo that referenced this pull request Apr 26, 2025
* feat: support go1.24

* chore

* update

* update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants