Skip to content

chore(deps): update golang docker tag to v1.23.4 #249

chore(deps): update golang docker tag to v1.23.4

chore(deps): update golang docker tag to v1.23.4 #249

name: Continuous Integration (CI)
on: pull_request
env:
# Forcing Earthly to use colours, to make reading output easier.
FORCE_COLOR: 1
jobs:
formatting:
name: Formatting
runs-on: ubuntu-latest
strategy:
matrix:
language: [rust, python, shell]
steps:
- name: Download Earthly.
uses: earthly/actions-setup@v1
with:
version: v0.8.15
- name: Checkout code.
uses: actions/checkout@v4
- name: Check formatting.
run: earthly --ci +check-${{ matrix.language }}-formatting
linting:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
language: [rust, shell]
steps:
- name: Download Earthly.
uses: earthly/actions-setup@v1
with:
version: v0.8.15
- name: Checkout code.
uses: actions/checkout@v4
- name: Check linting.
run: earthly --ci +check-${{ matrix.language }}-linting
compile:
name: Compile
runs-on: ubuntu-latest
steps:
- name: Download Earthly.
uses: earthly/actions-setup@v1
with:
version: v0.8.15
- name: Checkout code.
uses: actions/checkout@v4
- name: Compile.
run: earthly --ci +compile
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Download Earthly.
uses: earthly/actions-setup@v1
with:
version: v0.8.15
- name: Checkout code.
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Unit test.
run: earthly --ci +unit-test
static-binary-test:
name: Static Binary Test
runs-on: ubuntu-latest
steps:
- name: Download Earthly.
uses: earthly/actions-setup@v1
with:
version: v0.8.15
- name: Checkout code.
uses: actions/checkout@v4
- name: Static binary test.
run: earthly --ci +static-binary-test
end-to-end-test:
name: End to End Test
runs-on: ubuntu-latest
steps:
- name: Download Earthly.
uses: earthly/actions-setup@v1
with:
version: v0.8.15
- name: Checkout code.
uses: actions/checkout@v4
- name: End to End test.
run: earthly --ci +end-to-end-test