Resurrect the old CI

pull/53/head
Takashi Kokubun 2 years ago
parent 179674e713
commit 3c14525f16
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

@ -17,7 +17,6 @@ env:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
strategy:
fail-fast: false
matrix:
@ -39,7 +38,6 @@ jobs:
fmt:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
@ -50,8 +48,22 @@ jobs:
- name: cargo fmt
run: cargo fmt -- --check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo test
publish:
runs-on: ubuntu-latest
needs:
- build
- test
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v2

Loading…
Cancel
Save