workflow: expose runs-on as an input #20
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
on: | ||
push: | ||
branches: main | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
lints: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: read | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@v4 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
determinate: true | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix run nixpkgs#action-validator -- -v ./.github/workflows/workflow.yml | ||
- run: nix run nixpkgs#nodePackages.prettier -- --check . | ||
DeterminateCI: | ||
uses: ./.github/workflows/workflow.yml | ||
Check failure on line 24 in .github/workflows/validate.yml
|
||
permissions: | ||
id-token: "write" | ||
contents: "read" | ||
with: | ||
directory: ./tests/smoke |