diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 48cf532..679ad29 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -17,7 +17,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check formatting. run: earthly --ci +check-${{ matrix.language }}-formatting linting: @@ -30,7 +30,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check linting. run: earthly --ci +check-${{ matrix.language }}-linting compile: @@ -40,7 +40,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile. run: earthly --ci +compile unit-test: @@ -50,7 +50,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 @@ -63,6 +63,6 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: End to End test. run: earthly --ci +end-to-end-test diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 07d2683..8d351a3 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -14,7 +14,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/git-history.yml b/.github/workflows/git-history.yml index 8a9138a..d615d1d 100644 --- a/.github/workflows/git-history.yml +++ b/.github/workflows/git-history.yml @@ -14,7 +14,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/github-actions-workflows.yml b/.github/workflows/github-actions-workflows.yml index 9df6b06..0047688 100644 --- a/.github/workflows/github-actions-workflows.yml +++ b/.github/workflows/github-actions-workflows.yml @@ -14,7 +14,7 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check GitHub Actions workflows linting. run: earthly +check-github-actions-workflows-linting formatting: @@ -24,6 +24,6 @@ jobs: - name: Download Earthly v0.8.12. run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check formatting. run: earthly +check-yaml-formatting