Skip to content

Commit

Permalink
Reenables dependabot updates (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
haroon-sheikh authored Jul 25, 2023
1 parent 1c6126e commit aff3d13
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 34 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
11 changes: 6 additions & 5 deletions .github/workflows/release_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
CI: true

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.7'
cache: 'pip' # caching pip dependencies

- name: Setup git
run: |
Expand Down Expand Up @@ -69,14 +70,14 @@ jobs:
- name: 'deployment success'
if: success()
uses: 'deliverybot/status@master'
uses: 'deliverybot/deployment-status@v1'
with:
state: 'success'
token: '${{ secrets.GITHUB_TOKEN }}'

- name: 'deployment failure'
if: failure()
uses: 'deliverybot/status@master'
uses: 'deliverybot/deployment-status@v1'
with:
state: 'failure'
token: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
60 changes: 34 additions & 26 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: build

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
Expand All @@ -12,12 +18,13 @@ jobs:
python-version: [3.7, 3.9]

steps:
- uses: actions/checkout@v1

- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: '${{ matrix.python-version }}'
cache: 'pip' # caching pip dependencies

- name: Install dependencies
run: |
Expand All @@ -36,23 +43,24 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.7'
cache: 'pip' # caching pip dependencies

- name: Set up Go 1.13
uses: actions/setup-go@v1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.13
id: go
go-version: '1.20'

- name: Setup java 12.x.x
uses: actions/setup-java@v1
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: 12.x.x
distribution: 'temurin'
java-version: '11'

- uses: getgauge/setup-gauge@master
with:
Expand All @@ -79,7 +87,7 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
cd gauge-tests
.\gradlew.bat clean pythonFT
.\gradlew.bat clean pythonFT -PinParallel=false
lsp-tests:
needs: test
Expand All @@ -89,23 +97,23 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.7'
cache: 'pip' # caching pip dependencies

- name: Use Node.js
uses: actions/setup-node@v1
- name: Set up Nodejs
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: 18

- name: Set up Go 1.13
uses: actions/setup-go@v1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.13
id: go
go-version: '1.20'

- uses: getgauge/setup-gauge@master
with:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ If you need help in getting started with contribution, feel free to reach out on
Ex:
```diff
"id": "python",
- "version": "0.3.8",
+ "version": "0.3.9",
- "version": "0.4.0",
+ "version": "0.4.1",
```
2 changes: 1 addition & 1 deletion python.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "python",
"version": "0.3.17",
"version": "0.4.0",
"description": "Python support for gauge",
"run": {
"windows": [
Expand Down

0 comments on commit aff3d13

Please sign in to comment.