Fix syntax err in workflow "ci"

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-09 01:48:42 +10:00
parent 2ea03f6b29
commit 4b6b3e667c
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -11,22 +11,21 @@ jobs:
test: test:
name: test name: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps:
steps: - uses: actions/checkout@v2
- uses: actions/checkout@v2 - name: Configure toolchain
- name: Configure toolchain uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@v1 with:
with: toolchain: stable
toolchain: stable override: true
override: true - name: Configure caching
- name: Configure caching uses: actions/cache@v2
uses: actions/cache@v2 with:
with: key: ${{ matrix.os }}-${{ matrix.target }}-testing
key: ${{ matrix.os }}-${{ matrix.target }}-testing path: |
path: | ${{ env.HOME }}/.cargo
${{ env.HOME }}/.cargo target
target - name: test
- name: test uses: actions-rs/cargo@v1
uses: actions-rs/cargo@v1 with:
with: command: test
command: test