mirror of https://github.com/dapr/cli.git
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com> Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
This commit is contained in:
parent
56ba05982e
commit
398eb7e24a
|
@ -58,11 +58,11 @@ jobs:
|
|||
target_arch: arm
|
||||
steps:
|
||||
- name: Set up Go ${{ env.GOVER }}
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ env.GOVER }}
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Cache Go modules (Linux)
|
||||
if: matrix.target_os == 'linux'
|
||||
uses: actions/cache@v3
|
||||
|
@ -121,7 +121,7 @@ jobs:
|
|||
run: make test
|
||||
- name: Codecov
|
||||
if: matrix.target_arch == 'amd64' && matrix.target_os == 'linux'
|
||||
uses: codecov/codecov-action@v1
|
||||
uses: codecov/codecov-action@v3
|
||||
- name: Run make release to build and archive binaries
|
||||
run: |
|
||||
mkdir -p ${{ env.ARCHIVE_OUTDIR }}
|
||||
|
@ -196,7 +196,7 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Parse release version and set REL_VERSION
|
||||
run: python ./.github/scripts/get_release_version.py
|
||||
- name: Update winget manifests
|
||||
|
@ -209,4 +209,4 @@ jobs:
|
|||
} else{
|
||||
$PackageIdentifier="Dapr.CLI"
|
||||
}
|
||||
.\wingetcreate.exe update "$PackageIdentifier" --submit --urls "$url|x64" --version "${{ env.REL_VERSION }}" --token "${{ secrets.DAPR_BOT_TOKEN }}"
|
||||
.\wingetcreate.exe update "$PackageIdentifier" --submit --urls "$url|x64" --version "${{ env.REL_VERSION }}" --token "${{ secrets.DAPR_BOT_TOKEN }}"
|
||||
|
|
|
@ -34,16 +34,16 @@ jobs:
|
|||
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a push-only token that is safe to be exposed.
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: "Run FOSSA Scan"
|
||||
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
|
||||
uses: fossas/fossa-action@v1.3.1 # Use a specific version if locking is preferred
|
||||
with:
|
||||
api-key: ${{ env.FOSSA_API_KEY }}
|
||||
|
||||
# Disable fossa test due to a bug on fossa side.
|
||||
# - name: "Run FOSSA Test"
|
||||
# uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
|
||||
# uses: fossas/fossa-action@v1.3.1 # Use a specific version if locking is preferred
|
||||
# with:
|
||||
# api-key: ${{ env.FOSSA_API_KEY }}
|
||||
# run-tests: true
|
||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# Install Dapr
|
||||
- name: Install DAPR CLI
|
||||
|
|
|
@ -81,11 +81,11 @@ jobs:
|
|||
kind-image-sha: sha256:9be91e9e9cdf116809841fc77ebdb8845443c4c72fe5218f3ae9eb57fdb4bace
|
||||
steps:
|
||||
- name: Set up Go ${{ env.GOVER }}
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ env.GOVER }}
|
||||
- name: Check out code onto GOPATH
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ./src/github.com/dapr/cli
|
||||
- name: Cache Go modules
|
||||
|
@ -124,7 +124,7 @@ jobs:
|
|||
# Log the generated kind.yaml for easy reference.
|
||||
cat kind.yaml
|
||||
- name: Create KinD Cluster
|
||||
uses: helm/kind-action@v1.0.0
|
||||
uses: helm/kind-action@v1.3.0
|
||||
with:
|
||||
config: kind.yaml
|
||||
cluster_name: kind
|
||||
|
|
|
@ -61,7 +61,7 @@ jobs:
|
|||
dapr_install_mode: complete
|
||||
steps:
|
||||
- name: Set up Go ${{ env.GOVER }}
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ env.GOVER }}
|
||||
- name: Check out code into the Go module directory
|
||||
|
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
kind-image-sha: sha256:9be91e9e9cdf116809841fc77ebdb8845443c4c72fe5218f3ae9eb57fdb4bace
|
||||
steps:
|
||||
- name: Set up Go ${{ env.GOVER }}
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ env.GOVER }}
|
||||
- name: Check out code onto GOPATH
|
||||
|
@ -122,7 +122,7 @@ jobs:
|
|||
cat kind.yaml
|
||||
|
||||
- name: Create KinD Cluster
|
||||
uses: helm/kind-action@v1.0.0
|
||||
uses: helm/kind-action@v1.3.0
|
||||
with:
|
||||
config: kind.yaml
|
||||
cluster_name: kind
|
||||
|
|
Loading…
Reference in New Issue