Skip to content

Commit b70ffa8

Browse files
authored
CI: update actions
1 parent d157a2a commit b70ffa8

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ on:
44
merge_group:
55
workflow_dispatch:
66
pull_request:
7+
branches:
8+
- main
79
push:
810
branches:
9-
- master
11+
- main
1012
schedule:
1113
- cron: "0 5 * * *"
1214

1315
jobs:
14-
1516
build:
1617
name: Build Library
1718
runs-on: ubuntu-latest
18-
env: {"RUSTFLAGS": "-D warnings"}
19+
env: { "RUSTFLAGS": "-D warnings" }
1920
strategy:
2021
matrix:
2122
target:
@@ -28,7 +29,7 @@ jobs:
2829
toolchain: nightly
2930
target: ${{ matrix.target }}
3031

31-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3233

3334
- name: cargo build
3435
run: cargo build --target ${{ matrix.target }}
@@ -37,7 +38,7 @@ jobs:
3738
name: Format
3839
runs-on: ubuntu-latest
3940
steps:
40-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v5
4142
- uses: dtolnay/rust-toolchain@master
4243
with:
4344
toolchain: nightly
@@ -59,10 +60,10 @@ jobs:
5960
with:
6061
toolchain: nightly
6162
target: ${{ matrix.target }}
62-
components: llvm-tools-preview
63+
components: llvm-tools
6364

6465
- name: Check out repository
65-
uses: actions/checkout@v4
66+
uses: actions/checkout@v5
6667

6768
- name: Install QEMU
6869
run: |

0 commit comments

Comments
 (0)