Skip to content

fix(github-actions): attempt to use devbox on GitHub Actions workflow #6

fix(github-actions): attempt to use devbox on GitHub Actions workflow

fix(github-actions): attempt to use devbox on GitHub Actions workflow #6

name: "pre-commit CI"
on:
pull_request:
push:
branches: [main]
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install devbox
uses: jetpack-io/devbox-install-action@v0.2.0
# DO NOT DO THIS ON CI - THINGS MAY GO WRONG, OR WORSE CAUSE SECURITY BACKPAIN
- run: devbox shell --print-env | tee --append $GITHUB_PATH >> /dev/null
- uses: pre-commit/action@v3.0.0
- uses: pre-commit-ci/lite-action@v1.0.1
if: always()