Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
supsm committed Feb 14, 2023
1 parent 2131437 commit da266bb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
uses: actions/checkout@v3

- name: Install Clang-Tidy
run: sudo apt update && sudo apt install -y clang-tidy-12
Expand Down Expand Up @@ -60,11 +60,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: 'cpp'
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -80,7 +80,7 @@ jobs:
run: cmake --build build --config Release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2


coverity:
Expand All @@ -89,7 +89,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install gcc-11
run: sudo apt install -y gcc-11 g++-11
Expand Down Expand Up @@ -118,15 +118,15 @@ jobs:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1
with:
ignore-globs: "**/lib/**, **/include/**, **/src/mcpppp.cxx, **/src/mcpppp.h, **/src/lodepng.cpp"

- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: devskim-results.sarif

2 changes: 1 addition & 1 deletion .github/workflows/buildjava.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: setup jdk
uses: actions/setup-java@v1
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
build-linux-arm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- run: sudo apt update && sudo apt install -y gcc-12-aarch64-linux-gnu g++-12-aarch64-linux-gnu
- name: configure cmake
Expand All @@ -198,7 +198,7 @@ jobs:
build-emscripten:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: setup emsdk (emscripten)
uses: mymindstorm/setup-emsdk@v11

Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
copy-gradle-properties:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: copy gradle properties
uses: supsm/copy_file_to_another_repo@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publishmodrinth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: 'mod'
lfs: true
Expand Down

0 comments on commit da266bb

Please sign in to comment.