diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e2eeb89 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: + +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + open-pull-requests-limit: 1 + commit-message: + prefix: "chore" + include: "scope" + groups: + all: + patterns: + - "*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..73895e7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,37 @@ +name: "CI" + +on: + pull_request: + workflow_dispatch: + push: + branches: + - "main" + +concurrency: + group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}" + cancel-in-progress: true + +jobs: + + test-action: + name: "Github Action Test" + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: + - "ubuntu-latest" + - "macos-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v4" + + - name: "Test Local Action" + uses: "flox/install-flox-action" + + - name: "Test Local Action" + uses: "./" + with: + environment: "flox/nb" + command: "python --version"