chore(deps): Bump cross-spawn from 7.0.3 to 7.0.6 in /userdocs #2897
This file contains 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: run tests | |
on: [pull_request, workflow_dispatch, push] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: yitsushi/devmapper-containerd-action@bfb86f4fe3121aeb8a1b06601b3f07d064665204 # v1.0.1 | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: '${{ github.workspace }}/go.mod' | |
check-latest: true | |
cache: false | |
- name: Build | |
run: make build | |
- name: Build e2e | |
run: make compile-e2e | |
- name: Test with coverage | |
run: | | |
export CTR_SOCK_PATH=/var/run/containerd/containerd.sock | |
make test-with-cov | |
env: | |
CTR_SOCK_PATH: /run/containerd/containerd.sock | |
- name: Upload coverage to Codecov | |
run: bash <(curl -s https://codecov.io/bash) | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |