Skip to content

Commit 4e88f90

Browse files
committed
Cleanup old Perforce CI configuration
1 parent cfec368 commit 4e88f90

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Docker test and publish
23

34
on:
@@ -7,14 +8,15 @@ on:
78

89
jobs:
910
build-and-publish:
10-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1112

1213
steps:
13-
- uses: actions/checkout@master
14+
- uses: actions/checkout@v4
1415
- name: Set up Ruby 2.6
1516
uses: actions/setup-ruby@v1
1617
with:
17-
ruby-version: 2.6.x
18+
ruby-version: '3.4'
19+
bundler-cache: true
1820
- run: gem install bundler
1921
- name: Build container
2022
env:

.github/workflows/mend.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: mend_scan
23
on:
34
workflow_dispatch:
@@ -6,14 +7,14 @@ on:
67
- main
78
jobs:
89
build:
9-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1011
steps:
1112
- name: connect_twingate
1213
uses: twingate/github-action@v1
1314
with:
1415
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
1516
- name: checkout repo content
16-
uses: actions/checkout@v2 # checkout the repository content to github runner.
17+
uses: actions/checkout@v4 # checkout the repository content to github runner.
1718
with:
1819
fetch-depth: 1
1920
# install java which is required for mend and clojure

.github/workflows/pr.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
---
12
name: PR testing
23

3-
on: [push, pull_request]
4+
# run on each PR and on merges to main
5+
on:
6+
pull_request: {}
7+
push:
8+
branches:
9+
- main
410

511
jobs:
612
test:
7-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
814
strategy:
915
matrix:
1016
java: [ '11, '17' ]
@@ -13,7 +19,7 @@ jobs:
1319

1420
name: Java ${{ matrix.java }} tests
1521
steps:
16-
- uses: actions/checkout@master
22+
- uses: actions/checkout@v4
1723
- name: setup java
1824
uses: actions/setup-java@v3
1925
with:

0 commit comments

Comments
 (0)