Skip to content

added new line to test ci-workflow #1

added new line to test ci-workflow

added new line to test ci-workflow #1

Workflow file for this run

name: CI - Build Backend
on:
pull_request:
branches:
- main
paths:
- backend/**
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15.4
env:
POSTGRES_USER: amigoscode
POSTGRES_PASSWORD: password
POSTGRES_DB: customer
ports:
- 5332:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
defaults:
run:
working_directory: ./backend

Check failure on line 30 in .github/workflows/backend-ci.yml

View workflow run for this annotation

GitHub Actions / CI - Build Backend

Invalid workflow file

The workflow is not valid. .github/workflows/backend-ci.yml (Line: 30, Col: 9): Unexpected value 'working_directory'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '19'
cache: 'maven'
- name: Build and run Unit/Integration Tests with Maven
run: mvn -ntp -B verify