This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
build: updating to Go v1.22.1 #145
Workflow file for this run
This file contains 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: Conventional Commits | |
on: pull_request | |
env: | |
# Forcing Earthly to use colours, to make reading output easier. | |
FORCE_COLOR: 1 | |
jobs: | |
linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Earthly v0.8.1. | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.1/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Checkout code. | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Check Conventional Commits linting. | |
run: earthly --ci +check-conventional-commits-linting --from_reference "origin/${{ github.base_ref }}" |