Update checkout and setup-go actions (#531)

This commit is contained in:
Maycon Santos
2025-12-30 10:37:30 +01:00
committed by GitHub
parent 0443471387
commit ec76ca2524

View File

@@ -19,7 +19,7 @@ jobs:
input_string: ${{ github.event.inputs.tag }} input_string: ${{ github.event.inputs.tag }}
version_extractor_regex: '\/v(.*)$' version_extractor_regex: '\/v(.*)$'
- uses: actions/checkout@v2 - uses: actions/checkout@v6
with: with:
token: ${{ secrets.DEV_GITHUB_TOKEN }} token: ${{ secrets.DEV_GITHUB_TOKEN }}
@@ -30,9 +30,9 @@ jobs:
run: curl -L -o generator/openapi/openapi.yml "https://raw.githubusercontent.com/netbirdio/netbird/v${{ steps.semver_parser.outputs.fullversion }}/shared/management/http/api/openapi.yml" run: curl -L -o generator/openapi/openapi.yml "https://raw.githubusercontent.com/netbirdio/netbird/v${{ steps.semver_parser.outputs.fullversion }}/shared/management/http/api/openapi.yml"
- name: Install Go - name: Install Go
uses: actions/setup-go@v3 uses: actions/setup-go@v6
with: with:
go-version: '1.21.1' go-version: '1.25'
- name: Build Go project - name: Build Go project
run: (cd ./generator && go build -o expandOpenAPIRef) run: (cd ./generator && go build -o expandOpenAPIRef)