Skip to content

Commit

Permalink
fix: Remove nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwh committed May 13, 2024
1 parent aa4ee6d commit 2da19ea
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 27 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,21 @@ jobs:
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
doc:
runs-on: ubuntu-latest
name: nightly / doc
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install nightly
uses: dtolnay/rust-toolchain@nightly
- name: cargo doc
run: cargo doc --no-deps --all-features
env:
RUSTDOCFLAGS: --cfg docsrs

# NOTE: Commented out nightly builds for now, see: https://github.com/liamwh/surreal-id/actions/runs/9061443687/job/24893200609?pr=26
# doc:
# runs-on: ubuntu-latest
# name: nightly / doc
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: true
# - name: Install nightly
# uses: dtolnay/rust-toolchain@nightly
# - name: cargo doc
# run: cargo doc --no-deps --all-features
# env:
# RUSTDOCFLAGS: --cfg docsrs

hack:
runs-on: ubuntu-latest
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@ on:
name: Rolling

jobs:
nightly:
runs-on: ubuntu-latest
name: ubuntu / nightly
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install nightly
uses: dtolnay/rust-toolchain@nightly
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: cargo test --locked
run: cargo test --locked --all-features --all-targets
# NOTE: Commented out as it isn't important and is failing due to the following failure:
# https://github.com/liamwh/surreal-id/actions/runs/9058757601/job/24884984844
# nightly:
# runs-on: ubuntu-latest
# name: ubuntu / nightly
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: true
# - name: Install nightly
# uses: dtolnay/rust-toolchain@nightly
# - name: cargo generate-lockfile
# if: hashFiles('Cargo.lock') == ''
# run: cargo generate-lockfile
# - name: cargo test --locked
# run: cargo test --locked --all-features --all-targets

update:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2da19ea

Please sign in to comment.