chore(deps): update actions/checkout action to v6 #4527
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: [master] | |
| pull_request: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12'] | |
| django-version: ['4.2', '5.2'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: Setup Nodejs | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: run tests with Django ${{ matrix.django-version }} | |
| run: | | |
| sudo apt install gettext | |
| pip install "django~=${{ matrix.django-version }}.0" | |
| pip install -r requirements/test.txt | |
| make npm_requirements | |
| make build | |
| make test | |
| make validate_translations |