Update pinned GitHub Actions in .github/workflows/rust.yml #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| paths: | |
| - src/*.rs | |
| - tests/*.rs | |
| - .github/workflows/rust.yml | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| test: | |
| name: Test sigplot-bitarray | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: wasm-pack-action | |
| uses: jetli/wasm-pack-action@f98777369a49686b132a9e8f0fdd59837bf3c3fd # v0.3.0 | |
| with: | |
| version: "v0.9.1" | |
| - name: Run tests in headless Firefox | |
| run: wasm-pack test --headless --firefox | |
| - name: Run tests in headless Chrome | |
| run: wasm-pack test --headless --chrome |