From 12b94b3dce14cead834bd5e26e81d67ef7541066 Mon Sep 17 00:00:00 2001 From: Deshi Xiao Date: Tue, 19 Nov 2024 14:34:36 +0800 Subject: [PATCH] update github action golang version to 1.22.6 --- .github/workflows/builder-arm64.yaml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/testing.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/builder-arm64.yaml b/.github/workflows/builder-arm64.yaml index 102c9e5c..3cf2c954 100644 --- a/.github/workflows/builder-arm64.yaml +++ b/.github/workflows/builder-arm64.yaml @@ -18,9 +18,9 @@ jobs: GOARCH: ${{ matrix.goarch }} steps: - uses: actions/checkout@master - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '^1.22.6' cache-dependency-path: subdir/go.sum - name: generate resources run: mkdir -p {build/data,build/static} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e775b5d1..0ecb215f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: GOARCH: ${{ matrix.goarch }} steps: - uses: actions/checkout@master - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '^1.22.6' cache-dependency-path: subdir/go.sum - name: check depends run: sudo apt-get install -y libseccomp-dev diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3f51754b..4539f33b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -19,9 +19,9 @@ jobs: - uses: actions/checkout@v2 with: ref: 'dev' - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '^1.22.6' cache-dependency-path: subdir/go.sum - name: generate resources run: |