add renovate and fix ci #3
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: GitHub Actions CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: +test | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_COLOR: 1 | |
| EARTHLY_CONVERSION_PARALLELISM: "5" | |
| EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}" | |
| EARTHLY_INSTALL_ID: "earthly-lib-githubactions" | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 | |
| - uses: docker/login-action@v3 | |
| with: | |
| username: ${{ vars.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - uses: earthly/actions-setup@bda7cee4972033c6d6b77d77165e787f389f8752 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run tests | |
| run: |- | |
| # earthly config git "{github.com: {auth: ssh, user: git}}" && \ | |
| # eval $(ssh-agent) && \ | |
| # earthly secrets --org earthly-technologies --project core get littleredcorvette-id_rsa | ssh-add - && \ | |
| earthly --ci -P +test | |
| test-native-arm: | |
| name: +test-native-arm | |
| runs-on: ubuntu-latest-arm | |
| env: | |
| FORCE_COLOR: 1 | |
| EARTHLY_CONVERSION_PARALLELISM: "5" | |
| EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}" | |
| EARTHLY_INSTALL_ID: "earthly-lib-githubactions" | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 | |
| - uses: docker/login-action@v3 | |
| with: | |
| username: ${{ vars.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - uses: earthly/actions-setup@bda7cee4972033c6d6b77d77165e787f389f8752 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run tests | |
| run: |- | |
| # earthly config git "{github.com: {auth: ssh, user: git}}" && \ | |
| # eval $(ssh-agent) && \ | |
| # earthly secrets --org earthly-technologies --project core get littleredcorvette-id_rsa | ssh-add - && \ | |
| earthly --ci -P ./utils/dind+test |