diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index dec3771..1b2df60 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -1,22 +1,22 @@ name: Continuous Integration on: - push: - paths-ignore: - - "diagrams/*" - - "**/README.md" - pull_request: - paths-ignore: - - "diagrams/*" - - "**/README.md" + push: + paths-ignore: + - "diagrams/*" + - "**/README.md" + pull_request: + paths-ignore: + - "diagrams/*" + - "**/README.md" jobs: - build: - name: Build and test - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - name: Build test Docker image - run: docker build --target test --tag backend:test ./backend - - name: Run tests - run: docker run --env-file backend/.env.test backend:test + build: + name: Build and test + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Build test Docker image + run: docker build --target test --tag backend:test ./backend + - name: Run tests + run: docker run --env-file backend/.env.test backend:test diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index 12a044c..95e329d 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -24,13 +24,13 @@ on: "push" # env: # SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} jobs: - security-scan: - name: security scan - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - name: Run Snyk to check for vulnerabilities - uses: snyk/actions/node@master - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + security-scan: + name: security scan + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/node@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}