Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

update github workflow with newer version of different actions (#970)

Tiger Wang6cf46ce50c82
diff --git a/.github/workflows/casa.yml b/.github/workflows/casa.yml
index 72b0145..11c51bb 100644
--- a/.github/workflows/casa.yml
+++ b/.github/workflows/casa.yml
@@ -40,7 +40,7 @@ jobs:
# env:
# GITHUB_TOKEN: ${{ github.token }}
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
@@ -73,7 +73,7 @@ jobs:
- name: Use Node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: '14'
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml
index a2ae1cc..f6aea6f 100644
--- a/.github/workflows/codecov.yml
+++ b/.github/workflows/codecov.yml
@@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Run coverage
diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml
index 46e8243..729d949 100644
--- a/.github/workflows/demo.yml
+++ b/.github/workflows/demo.yml
@@ -22,7 +22,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Configure AWS credentials from Test account
uses: aws-actions/configure-aws-credentials@v1
diff --git a/.github/workflows/push_test_server.yml b/.github/workflows/push_test_server.yml
index 2bcaafb..cf5fb76 100644
--- a/.github/workflows/push_test_server.yml
+++ b/.github/workflows/push_test_server.yml
@@ -11,7 +11,7 @@ jobs:
steps:
-
name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
- name: isntall git
@@ -35,12 +35,12 @@ jobs:
run: echo ${{env.VERSION}}
- name: Set up Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v2
+ uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d580bbe..10266b7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,7 +20,7 @@ jobs:
gcc-aarch64-linux-gnu libc6-dev-arm64-cross \
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch all tags
@@ -30,11 +30,11 @@ jobs:
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v2
+ uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser