File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,11 +36,14 @@ jobs:
3636 - name : Cache cargo registry and target
3737 uses : Swatinem/rust-cache@v2
3838
39+ - name : Update apt package list
40+ run : sudo apt-get update
41+
3942 - name : Install `protobuf`
4043 uses : awalsh128/cache-apt-pkgs-action@v1.6.0
4144 with :
42- packages : protobuf-compiler
43- version : 3.21.12-8.2ubuntu0.2
45+ packages : protobuf-compiler=3.21.12*
46+ version : 3.21.12
4447
4548 - name : Install `oas3-gen`
4649 run : cargo install oas3-gen@0.24.0
Original file line number Diff line number Diff line change @@ -36,11 +36,14 @@ jobs:
3636 - name : Cache cargo registry and target
3737 uses : Swatinem/rust-cache@v2
3838
39+ - name : Update apt package list
40+ run : sudo apt-get update
41+
3942 - name : Install `protobuf`
4043 uses : awalsh128/cache-apt-pkgs-action@v1.6.0
4144 with :
42- packages : protobuf-compiler
43- version : 3.21.12-8.2ubuntu0.2
45+ packages : protobuf-compiler=3.21.12*
46+ version : 3.21.12
4447
4548 - name : Install `oas3-gen`
4649 run : cargo install oas3-gen@0.24.0
Original file line number Diff line number Diff line change @@ -43,11 +43,14 @@ jobs:
4343 - name : Cache cargo registry and target
4444 uses : Swatinem/rust-cache@v2
4545
46+ - name : Update apt package list
47+ run : sudo apt-get update
48+
4649 - name : Install `protobuf`
4750 uses : awalsh128/cache-apt-pkgs-action@v1.6.0
4851 with :
49- packages : protobuf-compiler
50- version : 3.21.12-8.2ubuntu0.2
52+ packages : protobuf-compiler=3.21.12*
53+ version : 3.21.12
5154
5255 - name : Install `oas3-gen`
5356 run : cargo install oas3-gen@0.24.0
Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ jobs:
3434 - name : Cache cargo registry and target
3535 uses : Swatinem/rust-cache@v2
3636
37+ - name : Update apt package list
38+ run : sudo apt-get update
39+
3740 - name : Install `protobuf`
3841 uses : awalsh128/cache-apt-pkgs-action@v1.6.0
3942 with :
40- packages : protobuf-compiler
41- version : 3.21.12-8.2ubuntu0.2
43+ packages : protobuf-compiler=3.21.12*
44+ version : 3.21.12
4245
4346 - name : Install `oas3-gen`
4447 run : cargo install oas3-gen@0.24.0
Original file line number Diff line number Diff line change @@ -57,11 +57,14 @@ jobs:
5757 - name : Cache cargo registry and target
5858 uses : Swatinem/rust-cache@v2
5959
60+ - name : Update apt package list
61+ run : sudo apt-get update
62+
6063 - name : Install `protobuf`
6164 uses : awalsh128/cache-apt-pkgs-action@v1.6.0
6265 with :
63- packages : protobuf-compiler
64- version : 3.21.12-8.2ubuntu0.2
66+ packages : protobuf-compiler=3.21.12*
67+ version : 3.21.12
6568
6669 - name : Install `oas3-gen`
6770 run : cargo install oas3-gen@0.24.0
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
1111RUN apt-get update && \
1212 apt-get install -y curl build-essential pkg-config \
1313 openssl libssl-dev \
14- protobuf-compiler=3.21.12-8.2ubuntu0.2
14+ protobuf-compiler=3.21.12*
1515
1616# Install Rust using rustup, the official installer
1717RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.89.0
You can’t perform that action at this time.
0 commit comments