aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBrad Corso <bcorso@google.com>2021-02-25 10:57:26 -0800
committerDagger Team <dagger-dev+copybara@google.com>2021-02-25 10:58:40 -0800
commitceccfc6ba9fa65044a3d24131c220e3b66b96338 (patch)
treed04ec287eb2dd2f0c0ddcf0c12335e964504f130 /.github
parent8a4b7e2c32bcbe27a8a572c54a38d1420112cbc9 (diff)
downloaddagger2-ceccfc6ba9fa65044a3d24131c220e3b66b96338.tar.gz
Add job to GitHub Actions to validate the Dagger version.
RELNOTES=N/A PiperOrigin-RevId: 359564145
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 958ca522d..1d1846054 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,8 +7,20 @@ on:
pull_request:
jobs:
+ validate-latest-dagger-version:
+ name: 'Validate Dagger version'
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Check out gh-pages repository'
+ uses: actions/checkout@v2
+ with:
+ ref: 'refs/heads/gh-pages'
+ path: gh-pages
+ - name: 'Validate latest Dagger version'
+ run: ./gh-pages/.github/scripts/validate-latest-dagger-version.sh gh-pages/_config.yml
bazel-test:
name: 'Bazel tests'
+ needs: validate-latest-dagger-version
runs-on: ubuntu-latest
env:
# Our Bazel builds currently rely on JDK 8.