@@ -36,35 +36,37 @@ jobs:
3636 outputs :
3737 test_coverage_url : ${{ steps.test_coverage_html.outputs.artifact-url }}
3838 steps :
39- - uses : actions/checkout@v6
39+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4040 with :
4141 submodules : " recursive"
4242
43- - uses : actions-rust-lang/setup-rust-toolchain@v1
43+ - uses : actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
4444 with :
4545 toolchain : ${{ env.RUST_TOOLCHAIN }}
4646 - name : Install cargo-tarpaulin
47- uses : taiki-e/install-action@cargo-tarpaulin
47+ uses : taiki-e/install-action@7bc99eee1f1b8902a125006cf790a1f4c8461e63 # v2.69.8
48+ with :
49+ tool : cargo-tarpaulin
4850
4951 - name : Run tests and report code coverage
5052 run : |
5153 # enable nightly features so that we can also include Doctests
5254 RUSTC_BOOTSTRAP=1 cargo tarpaulin --workspace --implicit-test-threads --all-features --all-targets --doc -o xml -o lcov -o html
5355
5456 - name : Upload coverage report (lcov)
55- uses : actions/upload-artifact@v6
57+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5658 id : test_coverage_lcov
5759 with :
5860 name : code-coverage-lcov
5961 path : lcov.info
6062 - name : Upload coverage report (xml)
61- uses : actions/upload-artifact@v6
63+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
6264 id : test_coverage_xml
6365 with :
6466 name : code-coverage-xml
6567 path : cobertura.xml
6668 - name : Upload coverage report (html)
67- uses : actions/upload-artifact@v6
69+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
6870 id : test_coverage_html
6971 with :
7072 name : code-coverage-html
7476 env :
7577 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
7678 if : env.CODECOV_TOKEN != ''
77- uses : codecov/codecov-action@v4.0.1
79+ uses : codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
7880 with :
7981 token : ${{ secrets.CODECOV_TOKEN }}
8082 slug : ${{ vars.GITHUB_REPOSITORY }}
81- files : lcov.info
83+ files : lcov.info
0 commit comments