Skip to content

Test automatic workflow #4

Test automatic workflow

Test automatic workflow #4

on:

Check failure on line 1 in .github/workflows/R-CMD-check-asan.yaml

View workflow run for this annotation

GitHub Actions / R-CMD-check-special

Invalid workflow file

The workflow is not valid. .github/workflows/R-CMD-check-asan.yaml: (Line: 20, Col: 26, Idx: 405) - (Line: 20, Col: 61, Idx: 440): While scanning a plain scalar, find unexpected ':'.
push:
branches: [main, master, asan-check]
pull_request:
branches: [main, master]
name: R-CMD-check-special
jobs:
sanitizers-and-valgrind:
runs-on: ubuntu-latest
name: ${{ matrix.config.name }}
container:
image: ${{ matrix.config.container }}
strategy:
fail-fast: false
matrix:
config:
- { name: sanitizers,
container: ghcr.io/r-hub/containers/clang-asan:latest,
git-install: apt-get update && apt-get install -y git }
- { name: valgrind,
container: ghcr.io/r-hub/containers/valgrind:latest,
git-install: dnf check-update && dnf install -y git }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- name: Install git
run: ${{ matrix.config.git-install }}
- uses: r-hub/actions/[email protected]
with:
submodules: true
- uses: r-hub/actions/platform-info@v1
- uses: r-hub/actions/setup-deps@v1
- uses: r-hub/actions/run-check@v1