|
41 | 41 | ~/.cargo/registry |
42 | 42 | ~/.cargo/git |
43 | 43 | target |
44 | | - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} |
45 | | - restore-keys: | |
46 | | - ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }} |
47 | | - ${{ runner.os }}-cargo |
| 44 | + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} |
48 | 45 | - name: Run tests |
49 | 46 | run: bundle exec rake cargo:test |
50 | 47 |
|
|
76 | 73 | ~/.cargo/git |
77 | 74 | target |
78 | 75 | key: ${{ runner.os }}-cargo--${{ hashFiles('**/Cargo.toml') }} |
79 | | - restore-keys: | |
80 | | - ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }} |
81 | | - ${{ runner.os }}-cargo |
82 | 76 | - name: rake cargo:build |
83 | 77 | run: bundle exec rake cargo:build |
84 | 78 | - name: rake cargo:lint |
@@ -107,37 +101,3 @@ jobs: |
107 | 101 | components: "rust-src" |
108 | 102 | - name: Test with sanitizer |
109 | 103 | run: bundle exec rake cargo:sanitize:${{ matrix.sanitizer }} |
110 | | - |
111 | | - # We need to figure out what to do here. When you run publish it checks |
112 | | - # against the latest version published to crates, which means if we have any |
113 | | - # breaking changes in the bindings then this fails. |
114 | | - # |
115 | | - # publish: |
116 | | - # name: cargo:publish |
117 | | - # strategy: |
118 | | - # fail-fast: false |
119 | | - # runs-on: ubuntu-latest |
120 | | - # steps: |
121 | | - # - uses: actions/checkout@v3 |
122 | | - # - name: Set up Ruby |
123 | | - # uses: ruby/setup-ruby@v1 |
124 | | - # with: |
125 | | - # ruby-version: head |
126 | | - # bundler-cache: true |
127 | | - # - name: Set up Rust |
128 | | - # uses: dtolnay/rust-toolchain@master |
129 | | - # with: |
130 | | - # toolchain: "1.71.1" |
131 | | - # targets: wasm32-wasip1 |
132 | | - # - uses: actions/cache@v4 |
133 | | - # with: |
134 | | - # path: | |
135 | | - # ~/.cargo/registry |
136 | | - # ~/.cargo/git |
137 | | - # target |
138 | | - # key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} |
139 | | - # restore-keys: | |
140 | | - # ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }} |
141 | | - # ${{ runner.os }}-cargo |
142 | | - # - name: Publish crates (dry-run) |
143 | | - # run: bundle exec rake cargo:publish:dry |
0 commit comments