mirror of
				https://github.com/Blah-IM/blahrs.git
				synced 2025-10-30 02:11:37 +00:00 
			
		
		
		
	build,ci: specify MSRV and setup CI
This commit is contained in:
		
							parent
							
								
									59a8851b32
								
							
						
					
					
						commit
						10c1ad5170
					
				
					 6 changed files with 15 additions and 11 deletions
				
			
		
							
								
								
									
										8
									
								
								.github/workflows/ci.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/ci.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -47,7 +47,8 @@ jobs: | ||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         rust: [stable, beta] |         # NB: Sync MSRV with Cargo.toml! | ||||||
|  |         rust: [stable, beta, "1.88"] | ||||||
|     name: Test ${{ matrix.rust }} |     name: Test ${{ matrix.rust }} | ||||||
|     # Need libsqlite3-dev >= 3.38.0 (2022-02-22) |     # Need libsqlite3-dev >= 3.38.0 (2022-02-22) | ||||||
|     runs-on: ubuntu-24.04 |     runs-on: ubuntu-24.04 | ||||||
|  | @ -64,7 +65,7 @@ jobs: | ||||||
| 
 | 
 | ||||||
|       - name: Install Rust ${{ matrix.rust }} |       - name: Install Rust ${{ matrix.rust }} | ||||||
|         run: | |         run: | | ||||||
|           rustup update --no-self-update ${{ matrix.rust }} |           rustup update --no-self-update | ||||||
|           rustup default ${{ matrix.rust }} |           rustup default ${{ matrix.rust }} | ||||||
| 
 | 
 | ||||||
|       - name: Disable webapi tests on stable rustc |       - name: Disable webapi tests on stable rustc | ||||||
|  | @ -80,9 +81,8 @@ jobs: | ||||||
|       - name: Test |       - name: Test | ||||||
|         run: cargo test --workspace --all-targets |         run: cargo test --workspace --all-targets | ||||||
| 
 | 
 | ||||||
|         # WAIT: Next release of `criterion` for `--include-ignored`. |  | ||||||
|       - name: Test ignored |       - name: Test ignored | ||||||
|         run: cargo test --workspace --all-targets -- --ignored |         run: cargo test --workspace --all-targets -- --ignored-ignored | ||||||
| 
 | 
 | ||||||
|   nix-flake: |   nix-flake: | ||||||
|     name: Flake package |     name: Flake package | ||||||
|  |  | ||||||
|  | @ -7,6 +7,11 @@ members = [ | ||||||
| ] | ] | ||||||
| default-members = ["blahd"] | default-members = ["blahd"] | ||||||
| 
 | 
 | ||||||
|  | [workspace.package] | ||||||
|  | edition = "2024" | ||||||
|  | # NB: Sync MSRV with CI! | ||||||
|  | rust-version = "1.88" # let_chains | ||||||
|  | 
 | ||||||
| [workspace.lints.clippy] | [workspace.lints.clippy] | ||||||
| allow_attributes_without_reason = "warn" | allow_attributes_without_reason = "warn" | ||||||
| dbg_macro = "warn" | dbg_macro = "warn" | ||||||
|  |  | ||||||
|  | @ -1,7 +1,8 @@ | ||||||
| [package] | [package] | ||||||
| name = "blah-types" | name = "blah-types" | ||||||
| version = "0.0.0" | version = "0.0.0" | ||||||
| edition = "2024" | edition.workspace = true | ||||||
|  | rust-version.workspace = true | ||||||
| 
 | 
 | ||||||
| [features] | [features] | ||||||
| default = ["ed25519-dalek/default"] | default = ["ed25519-dalek/default"] | ||||||
|  |  | ||||||
|  | @ -1,7 +1,8 @@ | ||||||
| [package] | [package] | ||||||
| name = "blahctl" | name = "blahctl" | ||||||
| version = "0.1.0" | version = "0.1.0" | ||||||
| edition = "2024" | edition.workspace = true | ||||||
|  | rust-version.workspace = true | ||||||
| 
 | 
 | ||||||
| [dependencies] | [dependencies] | ||||||
| anyhow = "1" | anyhow = "1" | ||||||
|  |  | ||||||
|  | @ -1,7 +1,8 @@ | ||||||
| [package] | [package] | ||||||
| name = "blahd" | name = "blahd" | ||||||
| version = "0.0.0" | version = "0.0.0" | ||||||
| edition = "2024" | edition.workspace = true | ||||||
|  | rust-version.workspace = true | ||||||
| 
 | 
 | ||||||
| [features] | [features] | ||||||
| default = [] | default = [] | ||||||
|  |  | ||||||
|  | @ -1,4 +0,0 @@ | ||||||
| [toolchain] |  | ||||||
| channel = "1.85" |  | ||||||
| profile = "default" |  | ||||||
| components = ["llvm-tools"] |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 oxalica
						oxalica