Skip to content

Commit 77150a7

Browse files
committed
ci: use a reasonable Ubuntu version
Jira: IAM-1908
1 parent 7ec955b commit 77150a7

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches:
66
pull_request:
7-
branches: [ master ]
7+
branches:
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
build:
1515

16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-latest
1717

1818
services:
1919
postgres:
@@ -28,18 +28,11 @@ jobs:
2828

2929
steps:
3030
- uses: actions/checkout@v4
31-
- name: Install Rust 1.60.0
32-
uses: actions-rs/toolchain@v1
33-
with:
34-
toolchain: 1.60.0
35-
override: true
36-
components: rustfmt, clippy
37-
- name: FMT
31+
- name: cargo fmt
3832
run: cargo fmt --all -- --check
3933
- name: Clippy
4034
run: cargo clippy --all --all-features -- -D warnings
4135
- name: Build
4236
run: cargo build --all --all-features --verbose
4337
- name: Run tests
4438
run: cargo test --all --features local -- --test-threads=1 --nocapture
45-

0 commit comments

Comments
 (0)