run regular make
command
#5
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: cli-check | |
on: | |
push: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
# Disable debug info (see https://github.com/sigp/lighthouse/issues/4005) | |
RUSTFLAGS: "-D warnings -C debuginfo=0" | |
WATCH_HOST: 'localhost' | |
# Disable incremental compilation | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
cli-check: | |
name: cli-check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get latest version of stable Rust | |
uses: moonrepo/setup-rust@v1 | |
with: | |
channel: stable | |
cache-target: release | |
- name: ls | |
run: ls -hal | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +%Y-%m)" | |
- name: Cache Docker image | |
uses: actions/cache@v2 | |
with: | |
path: /var/lib/docker/image | |
key: ${{ runner.os }}-image-${{ steps.date.outputs.date }} | |
restore-keys: | | |
${{ runner.os }}-image- | |
- name: Run Makefile to trigger the bash script | |
run: make cli |