Skip to content

Commit 2a78f1f

Browse files
newAMeldruin
authored andcommitted
CI: update actions versions
1 parent d44eb33 commit 2a78f1f

File tree

2 files changed

+6
-53
lines changed

2 files changed

+6
-53
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ on:
33
branches: [main, staging, trying]
44
pull_request:
55
branches: [main]
6+
merge_group:
7+
workflow_dispatch:
68

79
name: Continuous integration
810

911
jobs:
10-
test :
12+
test:
1113
name: test
1214
runs-on: ubuntu-latest
1315

@@ -18,25 +20,9 @@ jobs:
1820
- i686-unknown-linux-musl
1921

2022
steps:
21-
- uses: actions/checkout@v2
22-
- uses: actions-rs/toolchain@v1
23+
- uses: actions/checkout@v4
24+
- uses: dtolnay/rust-toolchain@master
2325
with:
24-
profile: minimal
2526
toolchain: stable
2627
target: ${{ matrix.target }}
27-
override: true
28-
29-
- uses: actions-rs/cargo@v1
30-
with:
31-
command: test
32-
args: --target ${{ matrix.target }}
33-
34-
ci-success:
35-
name: ci
36-
if: github.event_name == 'push' && success()
37-
needs:
38-
- test
39-
runs-on: ubuntu-latest
40-
steps:
41-
- name: Mark the job as a success
42-
run: exit 0
28+
- run: cargo test --target=${{ matrix.target }}

.travis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)