mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 18:08:55 +03:00
d4d8f6d902
This ensures that we only one set of workflows is running for an active GH ref (usually a PR). Stale workflows will be term'd when a new one associated with the same PR is kicked off. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
29 lines
593 B
YAML
29 lines
593 B
YAML
on: [pull_request]
|
|
|
|
name: CI
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
build-fmt-clippy-test:
|
|
name: fmt, clippy, test --release
|
|
runs-on: [self-hosted, i5-4690K]
|
|
timeout-minutes: 90
|
|
env:
|
|
FORCE_COLOR: 1
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
clean: "true"
|
|
|
|
- name: Earthly version
|
|
run: earthly --version
|
|
|
|
- name: install dependencies, build, run zig tests, rustfmt, clippy, cargo test --release
|
|
run: ./ci/safe-earthly.sh +test-all
|