Skip to content

Commit

Permalink
Merge pull request #32 from lcollins/lcollins-patch-1
Browse files Browse the repository at this point in the history
Update test.yml
  • Loading branch information
lcollins authored Oct 18, 2023
2 parents 004fbb0 + 1e0ccb4 commit cad3832
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,42 @@
name: "build-test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- master
- 'releases/*'
- release/*
- releases/*
pull_request:
branches:
- main
- master
- release/*
- releases/*

permissions:
security-events: write
actions: write
checks: write
deployments: write
id-token: write
discussions: write
pull-requests: write
statuses: write

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
npm install
- run: |
npm run all
- uses: actions/checkout@v4
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
path: '**/checkstyle-result.xml'
- uses: actions/checkout@v4
- uses: ./
with:
path: '**/checkstyle-result.xml'

0 comments on commit cad3832

Please sign in to comment.