diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index bdecfa19..1d3d8a65 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,6 +50,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: Unit test. run: earthly --ci +unit-test diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 07d2683a..8d351a3c 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 8a9138ae..d615d1d6 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 9df6b06c..00476880 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