Skip to content

Update dependabot.yml #2640

Update dependabot.yml

Update dependabot.yml #2640

Workflow file for this run

name: run tests
on: [pull_request, workflow_dispatch, push]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: yitsushi/devmapper-containerd-action@628cd44c88379567d478f3638a2251d4c373a0e8 # v1.0.1
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
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 }}