forked from pwndbg/pwndbg
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (49 loc) · 1.42 KB
/
lock.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Check lock files
on:
push:
branches:
- dev
paths:
- '**'
- '!mkdocs.yml'
- '!docs/**'
- '!*.md'
pull_request:
paths:
- '**'
- '!mkdocs.yml'
- '!docs/**'
- '!*.md'
jobs:
check_release_build-x86_64:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # @v3
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # @v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: build pwndbg
run: nix build '.#pwndbg' -o result-pwndbg
lock_flake:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # @v3
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # @v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: check flake.lock
run: nix flake lock --no-update-lock-file
lock_poetry:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # @v3
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # @v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: install poetry
run: nix profile install nixpkgs#poetry
- name: check poetry.lock
run: poetry check --lock