Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set version 1.12.1 as default #18

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu", "windows"]
version: ["1.12.0", "1.11.2", "1.11.1"]
version: ["1.12.1", "1.12.0", "1.11.2"]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout ${{ github.repository }}
Expand Down
30 changes: 3 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,6 @@ on: # yamllint disable-line rule:truthy
- "v*.*.*"

jobs:
create-release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changelog
id: changelog
uses: simbo/changes-since-last-release-action@v1
- name: Create release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
body: |
# Changelog

${{ steps.changelog.outputs.log }}
draft: false
prerelease: false
- name: Bump tags
uses: fischerscode/tagger@v0
with:
prefix: v
github:
name: GitHub
uses: fabasoad/reusable-workflows/.github/workflows/wf-github-release.yml@main
47 changes: 6 additions & 41 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,10 @@ on: # yamllint disable-line rule:truthy
branches:
- main

defaults:
run:
shell: sh

jobs:
code-scanning:
name: Code scanning
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "javascript"
- name: Perform CodeQL Analysis
id: codeql-analysis
uses: github/codeql-action/analyze@v3
- name: Upload to GHAS
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
category: "code-scanning"
sarif_file: "${{ steps.codeql-analysis.outputs.sarif-output }}"
directory-scanning:
name: Directory scanning
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Scan current project
id: scan-directory
uses: anchore/scan-action@v3
with:
by-cve: "true"
path: "."
- name: Upload to GHAS
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
category: "directory-scanning"
sarif_file: "${{ steps.scan-directory.outputs.sarif }}"
sast:
name: SAST
permissions:
contents: read
security-events: write
uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main
7 changes: 3 additions & 4 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Sync Labels
name: Labels

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -8,7 +8,6 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch: {}

jobs:
sync-labels:
name: Labels
maintenance:
name: Maintenance
uses: fabasoad/reusable-workflows/.github/workflows/wf-sync-labels.yml@main
secrets: inherit # pragma: allowlist secret
7 changes: 3 additions & 4 deletions .github/workflows/update-license.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
name: Update License
name: License

on: # yamllint disable-line rule:truthy
schedule:
- cron: "0 5 1 1 *"

jobs:
update-license:
name: LICENSE
maintenance:
name: Maintenance
uses: fabasoad/reusable-workflows/.github/workflows/wf-update-license.yml@main
secrets: inherit # pragma: allowlist secret
10 changes: 9 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ repos:
rev: v8.18.4
hooks:
- id: gitleaks
- repo: https://github.com/fabasoad/pre-commit-grype
rev: v0.3.1
hooks:
- id: grype-dir
args:
- --grype-args=--by-cve --fail-on=low
- --hook-args=--log-level debug
stages: ["push"]
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
Expand All @@ -30,7 +38,7 @@ repos:
hooks:
- id: actionlint
args: ["-pyflakes="]
stages: ["push"]
stages: ["commit"]
# Other
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ the instructions [here](https://www.jolie-lang.org/downloads.html)).
<!-- prettier-ignore-start -->
| Name | Required | Description | Default | Possible values |
|---------|----------|--------------------------------------------------------------------------------------|----------|-----------------|
| version | No | Version of `Jolie` that can be found [here](https://github.com/jolie/jolie/releases) | `1.12.0` | &lt;String&gt; |
| version | No | Version of `Jolie` that can be found [here](https://github.com/jolie/jolie/releases) | `1.12.1` | &lt;String&gt; |
<!-- prettier-ignore-end -->

## Example usage
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
distribution: zulu
- uses: fabasoad/setup-jolie-action@v0
with:
version: "1.12.0"
version: "1.12.1"
- name: Print version
run: jolie --version
```
Expand All @@ -74,7 +74,7 @@ jobs:
run: apk add --update maven
- uses: fabasoad/setup-jolie-action@v0
with:
version: "1.12.0"
version: "1.12.1"
- name: Print version
run: jolie --version
```
Expand All @@ -83,5 +83,5 @@ jobs:

```shell
Run jolie --version
Jolie 1.12.0 (C) 2006-2022 the Jolie developers
Jolie 1.12.1 (C) 2006-2022 the Jolie developers
```
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
version:
description: "Jolie version."
required: false
default: "1.12.0"
default: "1.12.1"
runs:
using: "composite"
steps:
Expand Down