Skip to content

Use rdk-devenv image for new go version (#96) #202

Use rdk-devenv image for new go version (#96)

Use rdk-devenv image for new go version (#96) #202

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
if: github.repository_owner == 'viamrobotics'
runs-on: buildjet-4vcpu-ubuntu-2204
container:
// Use rdk-devenv for now which has a go version >= 1.20 in order to run
// tests with goutils which requires at least 1.20.
image: https://github.com/viamrobotics/rdk/pkgs/container/rdk-devenv

Check failure on line 19 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
steps:
- name: Checkout PR/Push/Workflow Dispatch
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Run tests
run: |
apt-get -y install lsof
make test