Skip to content

Commit

Permalink
CONFIG: Update GitHub Actions trigger (#295)
Browse files Browse the repository at this point in the history
* CONFIG: Update GitHub Actions trigger

* ENHANCE: Cache GitHub Actions pip

* DOCS: Update README.md to show support for Python >3.9

---------

Co-authored-by: Stefanus Kurniawan <stefanus.kurniawan@deakin.edu.au>
Co-authored-by: Zac Brannelly <zac.brannelly@gmail.com>
  • Loading branch information
3 people committed Feb 15, 2024
1 parent 03853dc commit 2cfc897
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
pull_request:
branches:
- "*"
push:
branches:
- main
tags:
- "v+[0-9]+.[0-9]+.[0-9]*$"

# Cancel in-progress workflow runs on new PR commits.
concurrency:
Expand All @@ -17,9 +22,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9.5
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.9.5"
cache: 'pip'
cache-dependency-path: '**/requirements.txt'
- name: Install tox
run: |
# Install tox
Expand All @@ -41,9 +48,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9.5
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.9.5"
cache: 'pip'
cache-dependency-path: '**/requirements.txt'
- name: Install tox
run: |
# Install tox
Expand Down
2 changes: 1 addition & 1 deletion surround/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For more information about Surround library, see [Surround Library](https://surr
## Installation

### Prerequisites
- [Python](https://www.python.org/) 3+ (Tested on 3.6.5)
- [Python](https://www.python.org/) 3.9+ (Tested on 3.9.5)

Use package manager [pip](https://pip.pypa.io/en/stable/) to install the latest (stable) version:
```
Expand Down

0 comments on commit 2cfc897

Please sign in to comment.