Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sczembor committed Mar 7, 2024
1 parent 8f93b3b commit b4a5f78
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci-casper-rust-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: ci-casper-rust-contract

on:
push:
branches: [ master ]
branches: [master]
paths-ignore:
- '**.md'
- "**.md"

pull_request:
branches: [ master ]
branches: [master]
paths-ignore:
- '**.md'
- "**.md"

jobs:
build:
Expand All @@ -18,13 +18,13 @@ jobs:
os: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt, clippy
# Needed for gcc install
- run: sudo apt update && sudo apt install -y build-essential
- run: make prepare
- run: make check-lint
- run: make test
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v2
with:
profile: minimal
components: rustfmt, clippy
# Needed for gcc install
- run: sudo apt update && sudo apt install -y build-essential
- run: make prepare
- run: make check-lint
- run: make test
4 changes: 2 additions & 2 deletions .github/workflows/nightly-scheduled-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
os: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v2
with:
profile: minimal
components: rustfmt, clippy
Expand Down

0 comments on commit b4a5f78

Please sign in to comment.