Skip to content

Commit

Permalink
Update checkout version to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
CalPinSW committed Jun 26, 2024
1 parent 2b18cbb commit 1bd81ad
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
@@ -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
20 changes: 10 additions & 10 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 1bd81ad

Please sign in to comment.