Skip to content

tmp: Trigger CI

tmp: Trigger CI #3

Workflow file for this run

name: Build Test Lint
on:
push:
pull_request:
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Cargo build and test
uses: devcontainers/[email protected]
with:
runCmd: cargo build --verbose
runCmd: cargo test --verbose

Check failure on line 21 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Build Test Lint

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 21, Col: 11): 'runCmd' is already defined
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Cargo Clippy
uses: devcontainers/[email protected]
with:
runCmd: cargo clippy --all-targets --all-features
# jobs:
# build_and_test:
# name: Build and Test
# runs-on: ubuntu-latest
# strategy:
# matrix:
# toolchain:
# - stable
# - beta
# - nightly
# steps:
# - uses: actions/checkout@v3
# - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
# - run: cargo build --verbose
# - run: cargo test --verbose
# lint:
# name: clippy check
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Run Clippy
# run: cargo clippy --all-targets --all-features