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.ymlindex 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@v3with:fetch-depth: 0submodules: true@@ -73,7 +73,7 @@ jobs:- name: Use Node.js- uses: actions/setup-node@v2+ uses: actions/setup-node@v3with:node-version: '14'diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.ymlindex a2ae1cc..f6aea6f 100644--- a/.github/workflows/codecov.yml+++ b/.github/workflows/codecov.yml@@ -13,11 +13,11 @@ jobs:runs-on: ubuntu-22.04steps:- name: Checkout- uses: actions/checkout@v2+ uses: actions/checkout@v3with:fetch-depth: 0- name: Set up Go- uses: actions/setup-go@v2+ uses: actions/setup-go@v4with:go-version: "1.20"- name: Run coveragediff --git a/.github/workflows/demo.yml b/.github/workflows/demo.ymlindex 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 jobsteps:# 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 accountuses: aws-actions/configure-aws-credentials@v1diff --git a/.github/workflows/push_test_server.yml b/.github/workflows/push_test_server.ymlindex 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@v3with: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@v4with:go-version: 'stable'- name: Run GoReleaser- uses: goreleaser/goreleaser-action@v2+ uses: goreleaser/goreleaser-action@v4with:# either 'goreleaser' (default) or 'goreleaser-pro'distribution: goreleaserdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 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@v3with:fetch-depth: 0- name: Fetch all tags@@ -30,11 +30,11 @@ jobs:id: get_versionrun: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}- name: Set up Go- uses: actions/setup-go@v2+ uses: actions/setup-go@v4with:go-version: "1.20"- name: Run GoReleaser- uses: goreleaser/goreleaser-action@v2+ uses: goreleaser/goreleaser-action@v4with:# either 'goreleaser' (default) or 'goreleaser-pro'distribution: goreleaser