summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 69730945a..53c362b22 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,6 +21,9 @@ jobs:
name: '${{ matrix.job }} ${{ matrix.profile }} ${{ matrix.os }}'
runs-on: '${{ matrix.runner || matrix.os }}'
timeout-minutes: 120
+ defaults:
+ run:
+ shell: bash
strategy:
matrix:
include:
@@ -76,7 +79,6 @@ jobs:
- name: Cancel if draft PR
id: exit_early
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (github.event.pull_request.draft == true)'
- shell: bash
run: |-
GIT_MESSAGE=$(git log --format=%s -n 1 ${{github.event.after}})
echo Commit message: $GIT_MESSAGE
@@ -169,7 +171,6 @@ jobs:
matrix.profile == 'release' &&
github.repository == 'denoland/deno' &&
github.ref == 'refs/heads/main'))
- shell: bash
run: echo "DENO_CANARY=true" >> $GITHUB_ENV
- if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.use_sysroot))'
name: Set up incremental LTO and sysroot build
@@ -241,7 +242,6 @@ jobs:
CFLAGS=-flto=thin --sysroot=/sysroot
__0
- name: Log versions
- shell: bash
run: |-
python --version
rustc --version
@@ -281,7 +281,6 @@ jobs:
with:
cache-path: ./target
- name: Shallow clone crates.io index
- shell: bash
run: |-
if [ ! -d ~/.cargo/registry/index/github.com-1ecc6299db9ec823/.git ]
then
@@ -370,7 +369,6 @@ jobs:
github.ref == 'refs/heads/main'))
env:
CLOUDSDK_PYTHON: '${{env.pythonLocation}}\python.exe'
- shell: bash
run: 'gsutil -h "Cache-Control: public, max-age=3600" cp ./target/release/*.zip gs://dl.deno.land/canary/$(git rev-parse HEAD)/'
- name: Test debug
if: |-
@@ -397,7 +395,6 @@ jobs:
run: cargo test --release --locked
- name: Check deno binary
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.profile == ''release'' && startsWith(github.ref, ''refs/tags/'')))'
- shell: bash
run: target/release/deno eval "console.log(1+2)" | grep 3
env:
NO_COLOR: 1
@@ -515,10 +512,8 @@ jobs:
startsWith(github.ref, 'refs/tags/')))
env:
CLOUDSDK_PYTHON: '${{env.pythonLocation}}\python.exe'
- shell: bash
run: 'gsutil -h "Cache-Control: public, max-age=3600" cp ./target/release/*.zip gs://dl.deno.land/release/${GITHUB_REF#refs/*/}/'
- name: Create release notes
- shell: bash
if: |-
!(github.event_name == 'pull_request' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != 'true' && (matrix.job == 'test' &&
matrix.profile == 'release' &&