File tree Expand file tree Collapse file tree 5 files changed +20
-9
lines changed
Expand file tree Collapse file tree 5 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 3131 - run : |
3232 curl --proto =https --tlsv1.3 -vsSfLo /usr/local/bin/cargo-action-fmt "https://github.com/olix0r/cargo-action-fmt/releases/download/release%2F${CARGO_ACTION_FMT_VERSION}/cargo-action-fmt-x86_64-unknown-linux-gnu"
3333 chmod 755 /usr/local/bin/cargo-action-fmt
34- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
34+ - uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
3535 - run : cargo fetch
3636 - run : |
3737 cargo check --frozen \
Original file line number Diff line number Diff line change 1414 image : docker://rust:1.59.0-buster
1515 options : --security-opt seccomp=unconfined # 🤷
1616 steps :
17- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
18- - run : cargo install cargo-tarpaulin
19- - run : cargo tarpaulin --verbose --workspace --out Xml
17+ - run : apt update && apt install -y cmake clang golang # for boring
18+ - uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
19+ - name : install cargo-tarpaulin ${{ env.CARGO_TARPAULIN_VERSION }}
20+ run : |
21+ cd "${CARGO_HOME}/bin"
22+ curl -sL https://github.com/xd009642/tarpaulin/releases/download/${CARGO_TARPAULIN_VERSION}/cargo-tarpaulin-${CARGO_TARPAULIN_VERSION}-travis.tar.gz | tar xzvf -
23+ # XXX(ver) AFAICT, Tarpaulin doesn't allow us to compose a report over multiple invocations,
24+ # so we have to choose between getting coverage from unit tests and integration tests (since
25+ # integration tests require --no-default-features to avoid flakiness). Currently the
26+ # integration tests seem to cover more code, so we skip the unit tests for now :(.
27+ # - run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-app-integration --no-run
28+ # - run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-app-integration --skip-clean --ignore-tests --no-fail-fast --out=Xml
29+ - run : cargo tarpaulin --locked --packages=linkerd-app-integration --no-default-features --skip-clean --no-run
30+ - run : cargo tarpaulin --locked --packages=linkerd-app-integration --no-default-features --skip-clean --ignore-tests --no-fail-fast --out=Xml
2031 - uses : codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
Original file line number Diff line number Diff line change 1515 build :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
18+ - uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
1919 - run : docker build .devcontainer
2020
2121 rust-version :
3838 devcontainer-image :
3939 runs-on : ubuntu-latest
4040 steps :
41- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
41+ - uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
4242 - run : |
4343 export DEBIAN_FRONTEND=noninteractive
4444 sudo apt-get update
Original file line number Diff line number Diff line change 1515 env :
1616 DOCKER_BUILDKIT : " 1"
1717 steps :
18- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
18+ - uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
1919 - run : docker build . --build-arg PROXY_UNOPTIMIZED=1
Original file line number Diff line number Diff line change 3333 timeout-minutes : 40
3434 steps :
3535 - name : git co
36- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
36+ uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
3737
3838 - name : meta
3939 id : release-tag-meta
7575 contents : write
7676 steps :
7777 - name : git co
78- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
78+ uses : actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
7979
8080 - name : meta
8181 id : release-tag-meta
You can’t perform that action at this time.
0 commit comments