Skip to content

Commit

Permalink
ideas
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 17, 2023
1 parent fe42248 commit aaa4218
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 146 deletions.
25 changes: 0 additions & 25 deletions .devcontainer.json

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/publish-features.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish features
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .gitattributes
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
publish-features:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- run: npm install -g @devcontainers/cli
- run: devcontainer features --help
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47 changes: 0 additions & 47 deletions .github/workflows/release.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/test-relevant-features.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test relevant features
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .gitattributes
pull_request:
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .gitattributes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
list-features:
outputs:
features: ${{ steps.list-features-outputs.features }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: list-features
uses: devcontainers-community/list-features@v1
with:
relevant-only: true
test-feature:
needs: list-features
strategy:
fail-fast: false
matrix: ${{ toJSON(needs.list-features.outputs.features) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install -g @devcontainers/cli
- run: devcontainer features test -f ${{ matrix.id }}
58 changes: 0 additions & 58 deletions .github/workflows/test.yaml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/update-feature-readmes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish features
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .gitattributes
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
publish-features:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- uses: devcontainers-community/update-feature-readmes@v1
- uses: stefanzweifel/git-auto-commit-action@v4
16 changes: 0 additions & 16 deletions .github/workflows/validate.yml

This file was deleted.

0 comments on commit aaa4218

Please sign in to comment.