Skip to content

Commit

Permalink
Merge pull request #6027 from filecoin-project/gha
Browse files Browse the repository at this point in the history
chore: update github actions
  • Loading branch information
0x5459 authored Jun 20, 2023
2 parents fd433ff + 73ab85e commit b4de5c3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions .github/workflows/baisc_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
cache: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/common_build_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
build-ubuntu:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: '0'
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
./${{steps.vars.outputs.repo_name}}_${{steps.vars.outputs.tag}}_ubuntu.sha256
- name: upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: ${{ steps.vars.outputs.pub_method == 'pushRelease' }}
with:
name: ${{steps.vars.outputs.artifact_name}}
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
build-macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: '0'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/common_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
cache: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
cache: true
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
run: go test -coverpkg=./... -coverprofile=coverage_integration.txt -covermode=atomic -timeout=30m -parallel=4 -v $(go list ./... | grep -v /venus-shared/) -integration=true -unit=false

- name: Upload
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token:
files: ./coverage_unit.txt,./coverage_integration.txt,./coverage_venus_shared.txt
Expand Down

0 comments on commit b4de5c3

Please sign in to comment.