Debian Codegraph @

.cargo/vendor/imgref/.github/workflows/cargo.yml

raw
1 name: CI
2
3 on:
4 push:
5 pull_request:
6 branches:
7 # Branches from forks have the form 'user:branch-name' so we only run
8 # this job on pull_request events for branches that look like fork
9 # branches. Without this we would end up running this job twice for non
10 # forked PRs, once for the push and then once for opening the PR.
11 - '**:**'
12
13 jobs:
14 test:
15 name: Test
16 strategy:
17 matrix:
18 rust:
19 - stable
20 - nightly
21 runs-on: ubuntu-latest
22 steps:
23 - uses: actions/checkout@v2
24 - uses: actions-rs/toolchain@v1
25 with:
26 profile: minimal
27 toolchain: ${{ matrix.rust }}
28 override: true
29 - uses: actions-rs/cargo@v1
30 with:
31 command: test