Skip to content

Commit

Permalink
CI: upgrade workflow actions
Browse files Browse the repository at this point in the history
- Upgrade actions/checkout from `@v2` to `@v4`

- Remove unused workflow to publish to crates.io
  • Loading branch information
drmingdrmer committed Oct 15, 2024
1 parent df1a33d commit 965cabc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 103 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand All @@ -46,7 +46,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand All @@ -213,7 +213,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Setup | Toolchain
Expand Down Expand Up @@ -353,7 +353,7 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
components: rustfmt, clippy
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:
- "raft-kv-rocksdb"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4


- uses: actions-rs/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devskim-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/release-memstore.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/release-raft.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install mdbook
uses: drmingdrmer/mdbook-full@main
Expand Down

0 comments on commit 965cabc

Please sign in to comment.