Skip to content

Bump DeterminateSystems/nix-installer-action from 6 to 7 #128

Bump DeterminateSystems/nix-installer-action from 6 to 7

Bump DeterminateSystems/nix-installer-action from 6 to 7 #128

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
defaults:
run:
# Enable fail-fast option. https://github.com/github/docs/pull/18934
shell: 'bash'
jobs:
check:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# dprint and typos check twice in their actions and last our task, but the speed is acceptable :zap:
- uses: dprint/[email protected]
with:
dprint-version: '0.41.0' # selfup { "regex": "\\d[^']+", "script": "dprint --version | cut -d ' ' -f 2" }
- uses: crate-ci/[email protected] # selfup { "regex": "\\d\\.\\d+\\.\\d+", "script": "typos --version | cut -d ' ' -f 2" }
- uses: denoland/setup-deno@v1
with:
deno-version: '1.37.2' # selfup { "regex": "\\d[^']+", "script": "deno --version | head -n 1 | cut -d ' ' -f 2" }
- run: deno task check
build:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: '1.37.2' # selfup { "regex": "\\d[^']+", "script": "deno --version | head -n 1 | cut -d ' ' -f 2" }
- name: Ensure cache before build
run: deno task cache
- name: Install gh-action-escape
run: curl -fsSL https://raw.githubusercontent.com/kachick/gh-action-escape/v0.2.0/scripts/install-in-github-action.sh | sh -s v0.2.0
- name: Build
id: build
run: deno task build | gh-action-escape -name=report | tee --append "$GITHUB_OUTPUT"
- name: Upload the product for nightly use and debug
uses: actions/upload-artifact@v3
with:
name: '${{ fromJson(steps.build.outputs.report).productBasename }}'
path: '${{ fromJson(steps.build.outputs.report).productPath }}'
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`