Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Dec 23, 2024
1 parent 4e830e7 commit 1da3907
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 50

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# - native-tls
- tcp
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
features: "test,tokio,tcp,encryption,metrics"
name: "serf-tcp-encryption"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
Expand All @@ -57,7 +57,7 @@ jobs:
working-directory: ${{ matrix.crate }}
continue-on-error: true
- name: Upload Coverage Report as Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
path: ${{ matrix.crate }}/cobertura.xml
Expand All @@ -66,15 +66,15 @@ jobs:
needs: coverage-report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download all coverage reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: reports/
- name: List contents of the reports directory
run: ls -a reports
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
directory: reports
fail_ci_if_error: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/loc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
loc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust
run: |
Expand All @@ -42,7 +42,7 @@ jobs:
tokeit
- name: Upload loc to GitHub Gist
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GIST_PAT }}
script: |
Expand Down

0 comments on commit 1da3907

Please sign in to comment.