summaryrefslogtreecommitdiff
path: root/tools/asm-differ/.github/workflows/check-poetry-lock.yml
blob: 6104770e901248f96807037a13074d45ea50c621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: flake check

on:
  pull_request:
  push:

permissions: read-all

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      # Install `nix` which is just a dead-simple way to get a stable `poetry`
      # in scope.
      - uses: cachix/install-nix-action@v20
        with:
          github_access_token: ${{ secrets.GITHUB_TOKEN }}
      # Check that poetry.lock is in sync with pyproject.toml
      - run: nix run github:NixOS/nixpkgs/22.11#poetry -- lock --check