ci: add experimental cache #22
This file contains hidden or 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] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| amazon-ecr-login-module: | |
| name: Validate amazon-ecr-login module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./amazon-ecr-login functions | |
| configure-aws-credentials-module: | |
| name: Validate configure-aws-credentials module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./configure-aws-credentials functions | |
| helm-module: | |
| name: Validate Helm module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./helm functions | |
| go-module: | |
| name: Validate Go module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./go functions | |
| - name: Lint | |
| run: dagger -m ./go functions | |
| npm-module: | |
| name: Validate npm module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./npm functions | |
| python-module: | |
| name: Validate Python module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./python functions | |
| vault-action-module: | |
| name: Validate vault-action module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./vault-action functions | |
| release-please-module: | |
| name: Validate release-please module | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dagger/dagger-for-github@v8.4.1 | |
| with: | |
| version: "0.20.3" | |
| - name: Validate module | |
| run: dagger -m ./release-please functions |