Skip to content

Commit 975c23c

Browse files
committed
Bump actions
1 parent 78b988d commit 975c23c

File tree

3 files changed

+70
-70
lines changed

3 files changed

+70
-70
lines changed

.github/workflows/tests.yml

+33-33
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
name: "Rulewerk Tests"
22
on:
3-
pull_request:
4-
branches:
5-
- main
6-
- master
7-
push:
8-
branches:
9-
- main
10-
- master
3+
pull_request:
4+
branches:
5+
- main
6+
- master
7+
push:
8+
branches:
9+
- main
10+
- master
1111
jobs:
12-
unit-tests:
13-
name: "Rulewerk Unit Tests"
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v3
17-
- uses: DeterminateSystems/nix-installer-action@v4
18-
- uses: DeterminateSystems/magic-nix-cache-action@v2
19-
- env:
20-
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
21-
run: echo "name=BRANCH_NAME::${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV
22-
- run: echo "name=PR_NUMBER::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
23-
- run: nix-shell --pure --run "mvn clean test jacoco:report && mvn coveralls:report -D repoToken=${{ secrets.COVERALLS_TOKEN }} -D serviceBuildUrl=https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks -D branch=$BRANCH_NAME -D pullRequest=$PR_NUMBER"
24-
integration-tests:
25-
name: "Rulewerk Integration Tests"
26-
needs: unit-tests
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@v3
30-
- uses: DeterminateSystems/nix-installer-action@v4
31-
- uses: DeterminateSystems/magic-nix-cache-action@v2
32-
- env:
33-
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
34-
run: echo "name=BRANCH_NAME::${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV
35-
- run: echo "name=PR_NUMBER::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
36-
- run: nix-shell --pure --run "mvn clean verify -Dit.test=!org.semanticweb.rulewerk.integrationtests.vlogissues.*IT -DfailIfNoTests=false"
12+
unit-tests:
13+
name: "Rulewerk Unit Tests"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: DeterminateSystems/nix-installer-action@v12
18+
- uses: DeterminateSystems/magic-nix-cache-action@v7
19+
- env:
20+
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
21+
run: echo "name=BRANCH_NAME::${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV
22+
- run: echo "name=PR_NUMBER::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
23+
- run: nix-shell --pure --run "mvn clean test jacoco:report && mvn coveralls:report -D repoToken=${{ secrets.COVERALLS_TOKEN }} -D serviceBuildUrl=https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks -D branch=$BRANCH_NAME -D pullRequest=$PR_NUMBER"
24+
integration-tests:
25+
name: "Rulewerk Integration Tests"
26+
needs: unit-tests
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: DeterminateSystems/nix-installer-action@v12
31+
- uses: DeterminateSystems/magic-nix-cache-action@v7
32+
- env:
33+
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
34+
run: echo "name=BRANCH_NAME::${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV
35+
- run: echo "name=PR_NUMBER::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
36+
- run: nix-shell --pure --run "mvn clean verify -Dit.test=!org.semanticweb.rulewerk.integrationtests.vlogissues.*IT -DfailIfNoTests=false"
+17-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
name: "Update mvn2nix-lock.json"
22
on:
3-
push:
4-
paths:
5-
- "**/pom.xml"
3+
push:
4+
paths:
5+
- "**/pom.xml"
66

77
jobs:
8-
update-lock:
9-
runs-on: ubuntu-latest
8+
update-lock:
9+
runs-on: ubuntu-latest
1010

11-
steps:
12-
- uses: actions/checkout@v3
13-
- uses: DeterminateSystems/nix-installer-action@v4
14-
- uses: DeterminateSystems/magic-nix-cache-action@v2
15-
- name: Update mvn2nix-lock
16-
run: "nix run .#mvn2nix"
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: DeterminateSystems/nix-installer-action@v12
14+
- uses: DeterminateSystems/magic-nix-cache-action@v7
15+
- name: Update mvn2nix-lock
16+
run: "nix run .#mvn2nix"
1717

18-
- name: Create Pull Request
19-
uses: peter-evans/create-pull-request@v4.0.3
20-
with:
21-
commit-message: Update mvn2nix-lock.json
22-
title: Update mvn2nix-lock.json
23-
branch: update-mvn2nix-lock
18+
- name: Create Pull Request
19+
uses: peter-evans/create-pull-request@v6.0.5
20+
with:
21+
commit-message: Update mvn2nix-lock.json
22+
title: Update mvn2nix-lock.json
23+
branch: update-mvn2nix-lock

.github/workflows/vlog-tests.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
name: "Rulewerk VLog Integration Tests"
22
on:
3-
pull_request:
4-
branches:
5-
- main
6-
- master
7-
push:
8-
branches:
9-
- main
10-
- master
3+
pull_request:
4+
branches:
5+
- main
6+
- master
7+
push:
8+
branches:
9+
- main
10+
- master
1111
jobs:
12-
vlog-integration-tests:
13-
name: "VLog Integration Tests"
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v3
17-
- uses: DeterminateSystems/nix-installer-action@v4
18-
- uses: DeterminateSystems/magic-nix-cache-action@v2
19-
- env:
20-
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
21-
run: echo "name=BRANCH_NAME::${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV
22-
- run: echo "name=PR_NUMBER::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
23-
- run: nix-shell --pure --run "mvn clean verify -Dit.test=org.semanticweb.rulewerk.integrationtests.vlogissues.*IT -DfailIfNoTests=false"
12+
vlog-integration-tests:
13+
name: "VLog Integration Tests"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: DeterminateSystems/nix-installer-action@v12
18+
- uses: DeterminateSystems/magic-nix-cache-action@v7
19+
- env:
20+
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
21+
run: echo "name=BRANCH_NAME::${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV
22+
- run: echo "name=PR_NUMBER::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
23+
- run: nix-shell --pure --run "mvn clean verify -Dit.test=org.semanticweb.rulewerk.integrationtests.vlogissues.*IT -DfailIfNoTests=false"

0 commit comments

Comments
 (0)