~repos /rust-embed

#rust#proc-macro#http

git clone https://pyrossh.dev/repos/rust-embed.git
Discussions: https://groups.google.com/g/rust-embed-devs

rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.


Files changed (1) hide show
  1. .github/workflows/test.yml +10 -1
.github/workflows/test.yml CHANGED
@@ -1,10 +1,20 @@
1
1
  name: Test
2
2
  on: [push]
3
3
  jobs:
4
+ check:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions-rs/toolchain@v1
8
+ with:
9
+ toolchain: stable
10
+ - uses: actions/checkout@master
11
+ - run: rustup component add rustfmt
12
+ - run: cargo fmt --all -- --check
4
13
  test:
5
14
  runs-on: ${{ matrix.os }}
6
15
  continue-on-error: ${{ matrix.experimental }}
7
16
  strategy:
17
+ fail-fast: false
8
18
  matrix:
9
19
  os: [ubuntu-latest, windows-latest, macOS-latest]
10
20
  rust: [stable, nightly]
@@ -16,7 +26,6 @@ jobs:
16
26
  - uses: actions/checkout@master
17
27
  - name: Run tests
18
28
  run: |
19
- cargo fmt --all -- --check
20
29
  cargo test --test lib
21
30
  cargo test --test lib --features "debug-embed"
22
31
  cargo test --test lib --features "compression" --release