Athanasius
214bed27ee
.github: workflows: Guard any shell $VAR with "..."
...
This is with regards to what happened to another project, ref:
<https://www.wiz.io/blog/ultralytics-ai-library-hacked-via-github-for-cryptomining >
Basically, do NOT trust that things like branch names don't contain any
attempt at executing shell code if referenced in a workflow segment that
runs a shell command.
2024-12-09 21:43:47 +00:00
David Sangrey
b6d4371d67
[1469] Update Translation Scripting
...
Also runs through the Black linter for parsability sake.
2024-05-30 18:22:35 -04:00
David Sangrey
3dd3652c59
[ #1469 ] Add Translation Push Check
2024-05-28 21:14:19 -04:00
David Sangrey
695417f4fc
[ #1249 ] Add Cache actions
...
Will speed up workflow testing
2024-05-06 13:34:21 -04:00
David Sangrey
b30e006575
[519] Update Workflows and Python Version
2024-05-05 18:34:07 -04:00
dependabot[bot]
42c63b37e9
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:54:09 +00:00
dependabot[bot]
3b663c18ff
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:22:33 +00:00
Athanasius
3d53b1a54d
github/mypy: Specifically run for win32 platform
2022-12-23 15:24:45 +00:00
Athanasius
e70b3c99f2
github/push-checks: Correct the job name, from build
2022-12-23 15:18:32 +00:00
Athanasius
8bacbf77ff
github/push-checks: Run on any branch except main, stable, beta, releases
2022-12-23 15:11:56 +00:00
Athanasius
841ae2006e
mypy: Add script to run against all, and use in github/push-checks
2022-12-23 15:06:47 +00:00
Athanasius
4cea8fa34f
github/push-checks: Align flake8 with what's working in pr-checks
2022-12-04 16:55:45 +00:00
Athanasius
8628efa0a1
github/pr-/push-checks: Attempt non-diff flake8 checks
...
* flake8 6.0.0 dropped support for, the broken, --diff.
* We want to only run against python files. We will have 'git diff's for
other types of files.
* Uses 'git diff -z', 'grep -z -Z' and 'xargs -0' so as to pass NUL-terminated
strings around to avoid "special characters in path/filenames" issues.
2022-12-03 13:52:29 +00:00
Athanasius
e2813c0ff9
.github/workflows: Bump us up to Ubuntu 22.04, as 18.04 is deprecated
2022-09-05 13:10:03 +01:00
Athanasius
d20c2737d5
python: Utilis setup-python's new python-version-file
...
This way we only need to edit `.python-version` and all the GitHub actions
will automatically use that version.
2022-06-08 18:15:56 +01:00
dependabot[bot]
16dfd63f78
build(deps): bump actions/setup-python from 3 to 4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 17:03:09 +00:00
Athanasius
248a34d24c
Merge pull request #1495 from EDCD/dependabot/github_actions/develop/actions/checkout-3
...
build(deps): bump actions/checkout from 2.4.0 to 3
2022-03-02 21:49:46 +00:00
dependabot[bot]
4ea1609f36
build(deps): bump actions/checkout from 2.4.0 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 17:04:05 +00:00
dependabot[bot]
918d924612
build(deps): bump actions/setup-python from 2.3.2 to 3
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.3.2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.3.2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 17:05:03 +00:00
dependabot[bot]
8af0f5598b
build(deps): bump actions/setup-python from 2.3.1 to 2.3.2
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.3.1...v2.3.2 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-04 17:06:20 +00:00
Athanasius
109f964fc3
Python: Version must be a quoted string now
...
Else `3.10` gets interpreted as `3.1` and it all breaks.
2022-01-25 14:30:58 +00:00
Athanasius
eb0ff31805
Python: Bump minor version in GH workflows & update Releasing.md
...
I used Releasing.md as reference for what would need the version
updating, but it didn't say anything about all the workflows, it now
does.
2022-01-25 14:26:42 +00:00
dependabot[bot]
94a959b0cd
build(deps): bump actions/setup-python from 2.3.0 to 2.3.1
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 17:03:28 +00:00
dependabot[bot]
45437368b9
build(deps): bump actions/setup-python from 2.2.2 to 2.3.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.2.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 17:02:46 +00:00
dependabot[bot]
48c10978c6
build(deps): bump actions/checkout from 2.3.5 to 2.4.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 17:03:39 +00:00
dependabot[bot]
92054f4e15
build(deps): bump actions/checkout from 2.3.4 to 2.3.5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 17:03:12 +00:00
dependabot[bot]
735f1bb846
build(deps): bump actions/checkout from 2 to 2.3.4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 07:13:48 +00:00
dependabot[bot]
d02ede356e
build(deps): bump actions/setup-python from 2 to 2.2.2
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v2.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:16:52 +00:00
Athanasius
34d4e72bc4
GitHub workflows: echo info about what we're git diff'ing
...
Whenever A_D does a PR the checks, for some unclear reason, also contain
'other' files causing unexpected flake8 output.
i.e. PR that changes only plugins/inara.py somehow "git diff .. | flake8"
such that flake8 complains about things in collate.py, coriolis.py,
loadout.py
2021-04-12 08:31:47 +01:00
Athanasius
180d5b0cb6
Bump Python 3.8 -> 3.9 in {pr,push}-checks.yml GH workflows
...
Closes #893
2021-04-01 14:45:50 +01:00
A_D
2ff06c15ab
Fix double quoted strings in workflow
2021-04-01 14:45:47 +01:00
A_D
c2faad1eb7
Removed uneeded whitespace
2021-04-01 14:45:45 +01:00
Athanasius
c69cc77682
Added auto-annotation to both checks
...
This works based on telling github how to understand the flake8 output
# Conflicts:
# .github/workflows/push-checks.yml
2021-04-01 14:45:45 +01:00
Athanasius
6600d1a78a
GitHub Workflow: Update to Python 3.8
2021-04-01 14:45:12 +01:00
A_D
d58d831ebe
Replace python checks with jq in workflow
...
Also makes sure that pushes to main ARE checked
2021-01-05 17:20:21 +02:00
Athanasius
1cda0f9315
Rename to push-checks.yml, don't do PRs
...
Also commented better at the top
2020-08-27 12:11:50 +01:00