summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
AgeCommit message (Collapse)AuthorFilesLines
2022-08-15Bump setup-go action to v3Albin2-4/+4
2022-08-12Always continue on errorJonathan1-1/+1
2022-08-12Detect changes to go.sum in lockfile signature workflowDavid Lönnhager1-0/+1
2022-08-03Add swift-formatAndrej Mihajlov1-5/+23
2022-07-18Add swift Package.resolvedJonathan1-0/+1
2022-07-05Create verification script and github actionJonathan1-0/+26
Create a script which verifies that a set of "locked down" files are not changed in commits that have not been signed. Create a github workflow that runs the script in the CI. The script accepts --whitelist <commit> and --import-gpg-keys arguments. The default settings are supposed to work on the build server without importing the gpg keys from the trusted_keys.pub file and running with a hardcoded whitelist commit. Make the CI workflow use these arguments as it is supposed to in .github. The public keys that can be imported are specified as files in the ci/keys/ directory. The files that are locked down are specified in the .github workflow as a single source of truth. This requires some complicated parsing in the verification script as well as a dependency from the verification script to the workflow YAML. These are not ideal design choices however the alternative is to not have a single source of truth for the locked down files as the github workflow can not depend on an external file. The mullvad signing key is named to be first in the list in order to be imported first. The whitelisted commit is the latest master before this commit
2022-07-01Document that we should look into other platforms laterLinus Färnstrand1-0/+3
2022-07-01Add a cargo-udeps CI job to find unused dependenciesLinus Färnstrand1-0/+46
2022-07-01Remove reference to withdrawn CVE. It is no longer relevantLinus Färnstrand1-2/+2
2022-07-01Add a cargo-deny github actions workflowLinus Färnstrand1-0/+24
2022-06-30Fix newly introduced clippy warningsJonathan1-1/+3
Most significantly included making the TunnelArgs struct bigger by including most of the parameters that are used in the call-chain for Wireguard tunnels. This makes the struct less arbitrary and keeps down the amount of arguments to a manageable level. Fix `is_offline` lint complaint Nightly clippy (0.1.63) does not complain about this however stable (0.1.61) does and as such we'll change the name it. The mutability did not seem to be necessary but we agreed the name change is good anyway.
2022-06-30Add CI script for running ClippyJonathan1-0/+35
CI script will run clippy with `RUSTFLAGS="--deny warnings"` because this is how we do it in the other build CI scripts. However this might clash with configs that are done in the `.cargo/config` file. I expect this will not be a significant problem however and the CI script is not a critical resource and as such it seems like a waste to bikeshed this.
2022-06-27Convert Package.resolved v2 -> v1Andrej Mihajlov1-0/+15
2022-06-13Disable -quiet for testsAndrej Mihajlov1-1/+0
2022-06-02Xcode: add build config templateAndrej Mihajlov1-0/+8
2022-05-10Update package lists before installing dependency in CIEmīls1-1/+3
2022-04-29Set rust toolchain as defaultAlbin5-0/+7
2022-04-29Switch rust toolchain actionAlbin5-13/+13
Switching rust toolchain action due to some issues experienced with the internal caching of the previous action.
2022-04-25Switch to volta in actions and add npm cacheOskar Nyberg2-19/+26
2022-04-20Switch Android rust toolchain actionAlbin1-3/+3
2022-04-14Update node versionOskar Nyberg2-2/+2
2022-04-04Disable linting on WindowsOskar Nyberg1-0/+1
2022-04-04Switch to using the cache function in actions/setup-nodeOskar Nyberg2-14/+14
2022-03-28Format Kotlin according to official code styleAlbin1-1/+1
Android Studio and ktlint seem to agree on most styling except for imports. Some settings can be changed in Android Studio, however it seems to be hard to get lexicographical order (which ktlin wants). Therefore ktlint should be ran after any formatting has been applied by Android Studio (otherwise the CI workflow will complain).
2022-03-25Rename some Github Actions jobs to make them easier to findLinus Färnstrand10-11/+10
2022-03-24Enable continue-on-error for the nightly Rust jobLinus Färnstrand1-0/+1
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-1/+1
2022-03-01Remove API address rotationDavid Lönnhager1-1/+0
2022-02-10Cache Windows modules in GitHub Actions workflowDavid Lönnhager1-0/+24
2022-02-01Cache native libs in Android buildAlbin1-8/+30
2022-02-01Cache Android emulatorAlbin1-1/+25
2022-02-01Change to custom gradle cache actionAlbin1-24/+25
2022-02-01Run instrumented tests using prebuilt apksAlbin1-25/+4
2022-02-01Build Android native libs in separate stepAlbin1-4/+7
2022-02-01Fix incomplete Android builds in GH actionsAlbin1-3/+12
Fixes: * Missing inclusion of libmullvad_jni.so * Missing relays.json * Missing api-ip-address.txt
2022-02-01Upload produced apk artifacts in GH actionsAlbin1-0/+8
2022-01-12Add missing Android app module build cacheAlbin1-0/+2
2022-01-12Change workflow trigger from push to pull_requestOskar Nyberg12-20/+17
2021-12-30Make build-apk.sh use cargo run directly to get relay list etcLinus Färnstrand1-2/+0
2021-12-21Update to node 16.9.1Oskar Nyberg1-1/+1
2021-12-20Add Android dependency auditAlbin1-0/+15
Adds the OWASP Dependency-Check tool to the project to detect potentially vulnerable dependencies. Gradle is configured to skip the lintClassPath configuration, which relies on many dependencies that has been flagged to have CVEs, as it's related to the lint tooling rather than the project's compilation class path. The alternative would be to suppress specific CVEs, however that could potentially result in suppressed CVEs in project compilation class path.
2021-12-16Split Android project and app moduleAlbin2-3/+3
The purpose of this is to: * Comply better with the default Android project structure (see https://developer.android.com/studio/build). * Avoid conflicts between project and app dependencies and plugins.
2021-11-16Make trojan source check script more universally usableLinus Färnstrand1-1/+1
Make the script take the path to the dir to check as argument instead of being self aware.
2021-11-09Add GitHub Actions workflow for Unicode scriptDavid Lönnhager1-0/+17
2021-11-03CI: Switch to macOS 11 and iOS 13Andrej Mihajlov1-4/+4
2021-10-27Temporarily ignore RUSTSEC-2020-0159 RUSTSEC-2020-0071 (time + chrono)Linus Färnstrand1-1/+3
2021-10-25Add format specifiers check to translations actionOskar Nyberg1-0/+4
2021-10-01Update node version in Github Actions actionOskar Nyberg1-1/+1
2021-09-28Run `cargo audit` more oftenDavid Lönnhager1-0/+1
2021-09-27CI: add -quiet to suppress overly verbose xcodebuild outputAndrej Mihajlov1-1/+3