Tornjak UI Refactoring #2204
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: Tornjak CI | |
on: [push, pull_request] | |
jobs: | |
tornjak-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Show trigger info | |
run: | | |
cat <<EOF >>"${GITHUB_STEP_SUMMARY}" | |
# Workflow job info | |
- 🎉 The job was automatically triggered by a ${{ github.event_name }} event. | |
- 🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub! | |
- 🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}. | |
EOF | |
- name: Check out repository code | |
uses: actions/checkout@v4.2.2 | |
- name: Install Golang | |
uses: actions/setup-go@v5.1.0 | |
with: | |
go-version-file: go.mod | |
check-latest: true | |
cache: true | |
- uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: '18' | |
# https://github.com/docker/setup-qemu-action | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
# https://github.com/docker/setup-buildx-action | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Download modules | |
run: go mod download | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6.1.1 | |
with: | |
version: v1.57.2 | |
args: --timeout 7m | |
- name: Build binaries | |
run: make binaries | |
- name: Build images | |
run: make images | |
- name: Print job result | |
run: | | |
cat <<EOF >>"${GITHUB_STEP_SUMMARY}" | |
- 🍏 This job's status is ${{ job.status }}. | |
EOF |