Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/actionslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Lint Actions

on:
pull_request:
types: [opened, reopened, synchronize]
branches: [main, development]

jobs:
lint:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [24.x]
Comment on lines +11 to +14

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think anything here uses this node version and the os is otherwise isolated so we should be able to run this without the matrix and just runs-on: to ubuntu-latest.

this could reduce a little build overhead.

docs

runs-on: ${{ matrix.os }}
steps:
- run: echo "Running pdxhub actionslint for branch ${{ github.ref_name }}"
- uses: actions/checkout@v4
- name: Actions Lint
uses: raven-actions/actionlint@v2
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add this to both files

permissions:
  contents: read

docs

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: CI

on:
pull_request:
types: [opened, reopened, synchronize]
branches: [main, development]
push:
branches: [main, development]

jobs:
ci:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
Comment on lines +13 to +16

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as other file

steps:
- run: echo "Running pdxhub ci for branch ${{ github.ref_name }}"
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run lint
- run: bun run build
docker_ci:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
Comment on lines +25 to +28

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

steps:
- run: echo "Checking the Docker Build for branch ${{ github.ref_name }}"
- uses: actions/checkout@v4
- name: Setup Docker
uses: docker/setup-docker-action@v5
- run: docker build .
3 changes: 3 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading