We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fab7a39 commit f82ac17Copy full SHA for f82ac17
.github/workflows/push.yaml
@@ -0,0 +1,34 @@
1
+name: push
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+env:
10
+ # For setup-rust, see https://github.com/moonrepo/setup-rust/issues/22
11
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12
13
+jobs:
14
+ install-and-build-shaders:
15
+ strategy:
16
+ matrix:
17
+ os: [ubuntu-latest, macos-latest, windows-latest]
18
+ runs-on: ${{ matrix.os }}
19
+ defaults:
20
+ run:
21
+ shell: bash
22
+ steps:
23
+ - uses: actions/checkout@v2
24
+ - uses: moonrepo/setup-rust@v1
25
+ - run: rustup default stable
26
+ - run: rustup update
27
+ - run: cargo install --path . cargo-gpu
28
29
+ clippy:
30
+ runs-on: ubuntu-latest
31
32
33
34
+ - run: cargo clippy
0 commit comments