mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-09-19 17:50:12 +00:00
chore(deps): bump the github-actions group with 11 updates (#1198)
This commit is contained in:
@@ -38,16 +38,16 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v4
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --requiredByDefault
|
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --requiredByDefault
|
||||||
|
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@v3
|
uses: github/codeql-action/autobuild@v4
|
||||||
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
# 📚 https://git.io/JvXDl
|
# 📚 https://git.io/JvXDl
|
||||||
@@ -76,4 +76,4 @@ jobs:
|
|||||||
# make release
|
# make release
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v4
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
|
|
||||||
- run: git config --global --add safe.directory /__w/nezha/nezha
|
- run: git config --global --add safe.directory /__w/nezha/nezha
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Prepare frontends' dists
|
- name: Prepare frontends' dists
|
||||||
run: |
|
run: |
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
wget -qO pkg/geoip/geoip.db https://ipinfo.io/data/free/country.mmdb?token=${IPINFO_TOKEN}
|
wget -qO pkg/geoip/geoip.db https://ipinfo.io/data/free/country.mmdb?token=${IPINFO_TOKEN}
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: "1.26.x"
|
go-version: "1.26.x"
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: Cache zstd for s390x
|
- name: Cache zstd for s390x
|
||||||
if: matrix.goarch == 's390x'
|
if: matrix.goarch == 's390x'
|
||||||
id: cache-zstd
|
id: cache-zstd
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: /tmp/zstd-s390x
|
path: /tmp/zstd-s390x
|
||||||
key: zstd-s390x-v1.5.7
|
key: zstd-s390x-v1.5.7
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build with tag
|
- name: Build with tag
|
||||||
if: contains(github.ref, 'refs/tags/')
|
if: contains(github.ref, 'refs/tags/')
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v7
|
||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.goos }}
|
GOOS: ${{ matrix.goos }}
|
||||||
GOARCH: ${{ matrix.goarch }}
|
GOARCH: ${{ matrix.goarch }}
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build snapshot
|
- name: Build snapshot
|
||||||
if: contains(github.ref, 'refs/tags/') == false
|
if: contains(github.ref, 'refs/tags/') == false
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v7
|
||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.goos }}
|
GOOS: ${{ matrix.goos }}
|
||||||
GOARCH: ${{ matrix.goarch }}
|
GOARCH: ${{ matrix.goarch }}
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
args: build --single-target --clean --skip=validate --snapshot
|
args: build --single-target --clean --skip=validate --snapshot
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: dashboard-${{ matrix.goos }}-${{ matrix.goarch }}
|
name: dashboard-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
path: |
|
path: |
|
||||||
@@ -132,7 +132,7 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
path: ./assets
|
path: ./assets
|
||||||
|
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
files: "assets/*/*/*.zip"
|
files: "assets/*/*/*.zip"
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
@@ -178,10 +178,10 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
name: Release Docker images
|
name: Release Docker images
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
path: ./assets
|
path: ./assets
|
||||||
|
|
||||||
@@ -217,10 +217,10 @@ jobs:
|
|||||||
password: ${{ secrets.ALI_PAT }}
|
password: ${{ secrets.ALI_PAT }}
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
- name: Set up image name
|
- name: Set up image name
|
||||||
run: |
|
run: |
|
||||||
@@ -235,7 +235,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build dasbboard image And Push with tag
|
- name: Build dasbboard image And Push with tag
|
||||||
if: contains(github.ref, 'refs/tags/')
|
if: contains(github.ref, 'refs/tags/')
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
@@ -249,7 +249,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build dasbboard image And Push snapshot
|
- name: Build dasbboard image And Push snapshot
|
||||||
if: contains(github.ref, 'refs/tags/') == false
|
if: contains(github.ref, 'refs/tags/') == false
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ jobs:
|
|||||||
sync-code-to-atomgit:
|
sync-code-to-atomgit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
|
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
destination_repository: git@atomgit.com:naiba/nezha-dashboard.git
|
destination_repository: git@atomgit.com:naiba/nezha-dashboard.git
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ jobs:
|
|||||||
sync-to-jihulab:
|
sync-to-jihulab:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
|
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
destination_repository: git@gitee.com:naibahq/nezha.git
|
destination_repository: git@gitee.com:naibahq/nezha.git
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ATOMGIT_PAT: ${{ secrets.ATOMGIT_PAT }}
|
ATOMGIT_PAT: ${{ secrets.ATOMGIT_PAT }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Sync to AtomGit
|
- name: Sync to AtomGit
|
||||||
run: |
|
run: |
|
||||||
pip3 install PyGitHub
|
pip3 install PyGitHub
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }}
|
GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Sync to Gitee
|
- name: Sync to Gitee
|
||||||
run: |
|
run: |
|
||||||
pip3 install PyGitHub
|
pip3 install PyGitHub
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: "1.26.x"
|
go-version: "1.26.x"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user