Skip to content

Commit

Permalink
Use the devcontainer for the github action
Browse files Browse the repository at this point in the history
  • Loading branch information
programLyrique committed Jan 14, 2025
1 parent 636e439 commit 2486d7b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'build'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- benchmarking

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout (GitHub)
uses: actions/checkout@v3

- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
# Change this to be your CI task/script
runCmd: mvn --batch-mode --update-snapshots test

0 comments on commit 2486d7b

Please sign in to comment.