Skip to content

Update ci.yml

Update ci.yml #10

Workflow file for this run

name: CI
run: ./mvnw clean test -X -e

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 2, Col: 1): Unexpected value 'run'
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
name: backend - Build e Teste
runs-on: ubuntu-latest
steps:
- name: Checkout codigo
uses: actions/checkout@v4
- name: Dar permissao ao mvnw
run: chmod +x mvnw
- name: Configurar Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Build e Teste(Maven)
run: ./mvnw clean verify