ci: publish wasm modules to ghcr.io #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
modules: | |
- ansible | |
- ansible-lint | |
- awesome-ci | |
- black | |
- checkmake | |
- conftest | |
- devbox | |
- devenv | |
- flakestry | |
- flox | |
- gofmt | |
- golint | |
- jsonlint | |
- kubeconform | |
- kubeval | |
- nix | |
- open-policy-agent | |
- php-cs-fixer | |
- phpcbf | |
- phpcs | |
- pkgx | |
- r2-sync | |
- rtx | |
- scorecard | |
- shellcheck | |
- terraform-docs | |
- wiremock | |
- yamllint | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Fluent CI | |
uses: fluentci-io/setup-fluentci@v5 | |
- name: Run Dagger Pipelines | |
run: | | |
deno run -A src/dagger/list_jobs.ts | |
dagger functions | |
working-directory: ${{ matrix.modules }} | |
publish: | |
needs: test | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
strategy: | |
matrix: | |
modules: | |
#- ansible | |
#- ansible-lint | |
- awesome-ci | |
- black | |
- checkmake | |
- conftest | |
- devbox | |
- devenv | |
- flakestry | |
- flox | |
- jsonlint | |
- kubeconform | |
- nix | |
- r2-sync | |
- scorecard | |
- shellcheck | |
- terraform-docs | |
- yamllint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.41 | |
- name: Publish package | |
run: deno publish --allow-slow-types | |
working-directory: ${{ matrix.modules }} |